adrigol
(usa Arch Linux)
Enviado em 07/01/2011 - 00:56h
Então...executei o comando e olha oq apareceu..
--------------------------------------------------------------------------------------------------------
root@adriano-1201PN:~# ps -aux
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 0.0 0.0 2872 1740 ? Ss 00:28 0:01 /sbin/init
root 2 0.0 0.0 0 0 ? S 00:28 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 00:28 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 00:28 0:00 [migration/0]
root 5 0.0 0.0 0 0 ? S 00:28 0:00 [watchdog/0]
root 6 0.0 0.0 0 0 ? S 00:28 0:00 [migration/1]
root 7 0.0 0.0 0 0 ? S 00:28 0:00 [ksoftirqd/1]
root 8 0.0 0.0 0 0 ? S 00:28 0:00 [watchdog/1]
root 9 0.0 0.0 0 0 ? S 00:28 0:00 [events/0]
root 10 0.0 0.0 0 0 ? S 00:28 0:00 [events/1]
root 11 0.0 0.0 0 0 ? S 00:28 0:00 [cpuset]
root 12 0.0 0.0 0 0 ? S 00:28 0:00 [khelper]
root 13 0.0 0.0 0 0 ? S 00:28 0:00 [netns]
root 14 0.0 0.0 0 0 ? S 00:28 0:00 [async/mgr]
root 15 0.0 0.0 0 0 ? S 00:28 0:00 [pm]
root 17 0.0 0.0 0 0 ? S 00:28 0:00 [sync_supers]
root 18 0.0 0.0 0 0 ? S 00:28 0:00 [bdi-default]
root 19 0.0 0.0 0 0 ? S 00:28 0:00 [kintegrityd/0]
root 20 0.0 0.0 0 0 ? S 00:28 0:00 [kintegrityd/1]
root 21 0.0 0.0 0 0 ? S 00:28 0:00 [kblockd/0]
root 22 0.0 0.0 0 0 ? S 00:28 0:00 [kblockd/1]
root 23 0.0 0.0 0 0 ? S 00:28 0:00 [kacpid]
root 24 0.0 0.0 0 0 ? S 00:28 0:00 [kacpi_notify]
root 25 0.0 0.0 0 0 ? S 00:28 0:00 [kacpi_hotplug]
root 26 0.0 0.0 0 0 ? S 00:28 0:00 [ata_aux]
root 27 0.0 0.0 0 0 ? S 00:28 0:00 [ata_sff/0]
root 28 0.0 0.0 0 0 ? S 00:28 0:00 [ata_sff/1]
root 29 0.0 0.0 0 0 ? S 00:28 0:00 [khubd]
root 30 0.0 0.0 0 0 ? S 00:28 0:00 [kseriod]
root 31 0.0 0.0 0 0 ? S 00:28 0:00 [kmmcd]
root 32 0.0 0.0 0 0 ? S 00:28 0:00 [khungtaskd]
root 33 0.0 0.0 0 0 ? S 00:28 0:00 [kswapd0]
root 34 0.0 0.0 0 0 ? SN 00:28 0:00 [ksmd]
root 35 0.0 0.0 0 0 ? S 00:28 0:00 [aio/0]
root 36 0.0 0.0 0 0 ? S 00:28 0:00 [aio/1]
root 37 0.0 0.0 0 0 ? S 00:28 0:00 [ecryptfs-kthrea]
root 38 0.0 0.0 0 0 ? S 00:28 0:00 [crypto/0]
root 39 0.0 0.0 0 0 ? S 00:28 0:00 [crypto/1]
root 47 0.0 0.0 0 0 ? S 00:28 0:00 [scsi_eh_0]
root 48 0.0 0.0 0 0 ? S 00:28 0:00 [scsi_eh_1]
root 50 0.0 0.0 0 0 ? S 00:28 0:00 [kstriped]
root 51 0.0 0.0 0 0 ? S 00:28 0:00 [kmpathd/0]
root 52 0.0 0.0 0 0 ? S 00:28 0:00 [kmpathd/1]
root 53 0.0 0.0 0 0 ? S 00:28 0:00 [kmpath_handlerd]
root 54 0.0 0.0 0 0 ? S 00:28 0:00 [ksnapd]
root 55 0.1 0.0 0 0 ? S 00:28 0:01 [kondemand/0]
root 56 0.1 0.0 0 0 ? S 00:28 0:01 [kondemand/1]
root 57 0.0 0.0 0 0 ? S 00:28 0:00 [kconservative/0]
root 58 0.0 0.0 0 0 ? S 00:28 0:00 [kconservative/1]
root 301 0.0 0.0 0 0 ? S 00:28 0:00 [jbd2/sda5-8]
root 302 0.0 0.0 0 0 ? S 00:28 0:00 [ext4-dio-unwrit]
root 303 0.0 0.0 0 0 ? S 00:28 0:00 [ext4-dio-unwrit]
root 346 0.0 0.0 2392 608 ? S 00:28 0:00 upstart-udev-bridge --daemon
root 368 0.0 0.0 0 0 ? S 00:28 0:00 [flush-8:0]
root 369 0.0 0.0 2624 1024 ? S<s 00:28 0:00 udevd --daemon
root 676 0.0 0.0 0 0 ? S 00:28 0:00 [kpsmoused]
root 690 0.0 0.0 0 0 ? S 00:28 0:00 [usbhid_resumer]
root 696 0.0 0.0 0 0 ? S 00:28 0:00 [cfg80211]
root 758 0.0 0.0 0 0 ? S 00:28 0:00 [phy0]
root 828 0.0 0.0 0 0 ? S 00:28 0:00 [hd-audio0]
root 859 0.0 0.0 0 0 ? S 00:28 0:00 [hd-audio1]
root 896 0.0 0.0 0 0 ? S 00:28 0:00 [jbd2/sda6-8]
root 897 0.0 0.0 0 0 ? S 00:28 0:00 [ext4-dio-unwrit]
root 898 0.0 0.0 0 0 ? S 00:28 0:00 [ext4-dio-unwrit]
syslog 951 0.0 0.0 34596 1256 ? Sl 00:28 0:00 rsyslogd -c4
102 974 0.1 0.0 3548 1776 ? Ss 00:28 0:01 dbus-daemon --system --fork
root 987 0.0 0.1 19988 3404 ? Ssl 00:28 0:00 gdm-binary
avahi 1014 0.0 0.0 3012 1356 ? S 00:28 0:00 avahi-daemon: running [adriano-1201PN.local]
avahi 1015 0.0 0.0 3012 440 ? S 00:28 0:00 avahi-daemon: chroot helper
root 1017 0.0 0.1 6792 2436 ? Ss 00:28 0:00 /usr/sbin/cupsd -C /etc/cups/cupsd.conf
root 1020 0.0 0.2 19132 4248 ? Ssl 00:28 0:00 NetworkManager
root 1023 0.0 0.1 4432 2420 ? S 00:28 0:00 /usr/sbin/modem-manager
root 1046 0.0 0.0 1856 556 tty4 Ss+ 00:28 0:00 /sbin/getty -8 38400 tty4
root 1049 0.0 0.1 21008 3028 ? Sl 00:28 0:00 /usr/sbin/console-kit-daemon --no-daemon
root 1053 0.0 0.0 1856 560 tty5 Ss+ 00:28 0:00 /sbin/getty -8 38400 tty5
root 1127 0.0 0.0 1856 560 tty2 Ss+ 00:28 0:00 /sbin/getty -8 38400 tty2
root 1128 0.0 0.0 1856 560 tty3 Ss+ 00:28 0:00 /sbin/getty -8 38400 tty3
root 1130 0.0 0.0 1856 564 tty6 Ss+ 00:28 0:00 /sbin/getty -8 38400 tty6
root 1132 0.0 0.0 2048 836 ? Ss 00:28 0:00 anacron -s
root 1133 0.0 0.0 2112 888 ? Ss 00:28 0:00 acpid -c /etc/acpi/events -s /var/run/acpid.socket
root 1141 0.0 0.0 2456 884 ? Ss 00:28 0:00 cron
daemon 1142 0.0 0.0 2316 356 ? Ss 00:28 0:00 atd
root 1160 0.0 0.1 4900 2396 ? S 00:28 0:00 /sbin/wpa_supplicant -u -s
root 1161 0.0 0.1 21908 3952 ? Sl 00:28 0:00 /usr/lib/gdm/gdm-simple-slave --display-id /org/gnome/DisplayManager/Display1
root 1167 0.0 0.0 2296 1016 ? S 00:28 0:00 /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-eth0.pid -lf
root 1190 10.8 2.5 67152 53360 tty7 Ss+ 00:28 2:18 /usr/bin/X :0 -nr -verbose -auth /var/run/gdm/auth-for-gdm-xkx7I2/database -nolisten tcp vt7
root 1217 0.0 0.0 13296 1408 ? Ss 00:28 0:00 /usr/sbin/winbindd
root 1265 0.0 0.0 13296 968 ? S 00:28 0:00 /usr/sbin/winbindd
root 1357 0.0 0.0 2744 1048 ? S< 00:28 0:00 udevd --daemon
root 1424 0.0 0.0 1856 560 tty1 Ss+ 00:28 0:00 /sbin/getty -8 38400 tty1
gdm 1443 0.0 0.0 3456 584 ? S 00:28 0:00 /usr/bin/dbus-launch --exit-with-session
root 1466 0.0 0.1 22268 3800 ? Sl 00:28 0:00 /usr/lib/gdm/gdm-session-worker
root 1472 0.0 0.1 8432 3220 ? S 00:28 0:00 /usr/lib/upower/upowerd
rtkit 1476 0.0 0.0 22992 1216 ? SNl 00:28 0:00 /usr/lib/rtkit/rtkit-daemon
root 1481 0.0 0.1 6620 3944 ? S 00:28 0:00 /usr/lib/policykit-1/polkitd
adriano 1593 0.0 0.1 25244 2788 ? Sl 00:29 0:00 /usr/bin/gnome-keyring-daemon --daemonize --login
adriano 1612 0.0 0.3 36828 7840 ? Ssl 00:29 0:00 gnome-session
adriano 1649 0.0 0.0 3348 200 ? Ss 00:29 0:00 /usr/bin/ssh-agent /usr/bin/dbus-launch --exit-with-session gnome-session
adriano 1652 0.0 0.0 3456 580 ? S 00:29 0:00 /usr/bin/dbus-launch --exit-with-session gnome-session
adriano 1653 0.0 0.0 4152 1724 ? Ss 00:29 0:00 /bin/dbus-daemon --fork --print-pid 5 --print-address 7 --session
adriano 1658 0.1 0.2 9792 4412 ? S 00:29 0:01 /usr/lib/libgconf2-4/gconfd-2
adriano 1663 0.0 0.4 29496 8520 ? Sl 00:29 0:00 gnome-power-manager
adriano 1666 0.2 0.6 175236 13412 ? Ssl 00:29 0:03 /usr/lib/gnome-settings-daemon/gnome-settings-daemon
adriano 1673 0.0 0.1 7568 2368 ? S 00:29 0:00 /usr/lib/gvfs/gvfsd
adriano 1678 0.0 0.1 30656 2108 ? Ssl 00:29 0:00 /usr/lib/gvfs//gvfs-fuse-daemon /home/adriano/.gvfs
adriano 1682 14.5 2.4 68680 51092 ? Sl 00:29 3:01 compiz
adriano 1685 1.6 0.2 104936 5544 ? S<sl 00:29 0:20 /usr/bin/pulseaudio --start --log-target=syslog
adriano 1716 0.1 0.6 118656 13096 ? SLl 00:29 0:01 nm-applet --sm-disable
adriano 1718 0.0 0.4 39756 9588 ? Sl 00:29 0:00 /usr/lib/evolution/2.30/evolution-alarm-notify
adriano 1720 5.9 2.7 154816 55816 ? Sl 00:29 1:13 nautilus
adriano 1725 0.5 0.9 82788 18672 ? Sl 00:29 0:06 gnome-panel
adriano 1726 0.0 0.1 21708 3312 ? Sl 00:29 0:00 /usr/lib/pulseaudio/pulse/gconf-helper
adriano 1729 0.0 0.3 20036 6600 ? S 00:29 0:00 /usr/lib/policykit-1-gnome/polkit-gnome-authentication-agent-1
adriano 1730 0.0 0.4 29968 8652 ? Sl 00:29 0:00 bluetooth-applet
adriano 1739 0.0 0.0 3908 912 ? S 00:29 0:00 syndaemon -i 0.5 -k
adriano 1741 0.0 0.1 34984 3892 ? S 00:29 0:00 /usr/lib/gvfs/gvfs-gdu-volume-monitor
adriano 1743 0.0 0.1 51908 3852 ? Ssl 00:29 0:00 /usr/lib/bonobo-activation/bonobo-activation-server --ac-activate --ior-output-fd=20
root 1745 0.0 0.1 16368 3448 ? Sl 00:29 0:00 /usr/lib/udisks/udisks-daemon
root 1747 0.0 0.0 5616 968 ? S 00:29 0:00 udisks-daemon: not polling any devices
adriano 1749 0.0 0.0 1896 508 ? Ss 00:29 0:00 /bin/sh -c /usr/bin/compiz-decorator
adriano 1750 0.2 0.5 30448 11116 ? Sl 00:29 0:03 /usr/bin/gtk-window-decorator
adriano 1753 0.0 0.1 8192 2192 ? S 00:29 0:00 /usr/lib/gvfs/gvfs-gphoto2-volume-monitor
root 1757 0.0 0.0 2296 1028 ? S 00:29 0:00 /sbin/dhclient -d -sf /usr/lib/NetworkManager/nm-dhcp-client.action -pf /var/run/dhclient-wlan0.pid -lf
adriano 1759 0.0 0.1 16564 3444 ? S 00:29 0:00 /usr/lib/gvfs/gvfsd-trash --spawner :1.11 /org/gtk/gvfs/exec_spaw/0
adriano 1764 0.4 0.6 76884 14264 ? Sl 00:29 0:05 /usr/lib/gnome-panel/wnck-applet --oaf-activate-iid=OAFIID:GNOME_Wncklet_Factory --oaf-ior-fd=22
adriano 1768 0.1 0.7 86636 14972 ? Sl 00:29 0:01 /usr/lib/gnome-applets/trashapplet --oaf-activate-iid=OAFIID:GNOME_Panel_TrashApplet_Factory --oaf-ior-
adriano 1770 0.0 0.1 18000 2252 ? Sl 00:29 0:00 /usr/lib/gvfs/gvfs-afc-volume-monitor
adriano 1775 0.1 0.9 34252 19272 ? S 00:29 0:01 /usr/bin/python /usr/lib/ubuntu-sso-client/ubuntu-sso-login
adriano 1780 0.6 0.4 32068 9576 ? Sl 00:29 0:08 /usr/lib/gnome-applets/geyes_applet2 --oaf-activate-iid=OAFIID:GNOME_GeyesApplet_Factory --oaf-ior-fd=2
adriano 1787 0.0 0.1 27636 2876 ? Ss 00:29 0:00 gnome-screensaver
adriano 1861 0.0 0.3 20604 7892 ? S 00:29 0:00 /usr/lib/gnome-disk-utility/gdu-notification-daemon
adriano 1866 0.0 0.4 32172 9912 ? Sl 00:29 0:00 /usr/lib/gnome-panel/notification-area-applet --oaf-activate-iid=OAFIID:GNOME_NotificationAreaApplet_Fa
adriano 1867 0.3 0.7 40404 14744 ? Sl 00:29 0:04 /usr/lib/gnome-panel/clock-applet --oaf-activate-iid=OAFIID:GNOME_ClockApplet_Factory --oaf-ior-fd=26
adriano 1897 0.0 0.1 7448 2160 ? S 00:29 0:00 /usr/lib/gvfs/gvfsd-metadata
adriano 1941 0.0 0.7 33324 16264 ? S 00:29 0:00 /usr/bin/python /usr/share/system-config-printer/applet.py
adriano 1949 0.0 0.6 74944 12920 ? Sl 00:30 0:00 update-notifier
adriano 2001 0.0 0.1 16452 3156 ? S 00:30 0:00 /usr/lib/gvfs/gvfsd-computer --spawner :1.11 /org/gtk/gvfs/exec_spaw/1
root 2087 0.0 0.0 1896 508 ? S 00:33 0:00 /bin/sh -c nice run-parts --report /etc/cron.daily
root 2088 0.0 0.0 1820 508 ? SN 00:33 0:00 run-parts --report /etc/cron.daily
root 2093 0.0 0.0 1896 584 ? SN 00:33 0:00 /bin/sh /etc/cron.daily/apt
root 2130 0.0 0.0 1828 244 ? SN 00:33 0:00 sleep 1567
adriano 2246 0.1 0.6 73476 12508 ? Sl 00:44 0:00 /usr/lib/notify-osd/notify-osd
root 2268 0.0 0.0 2744 792 ? S< 00:48 0:00 udevd --daemon
adriano 2270 9.4 2.1 256724 43452 ? Sl 00:48 0:10 /opt/google/chrome/google-chrome
adriano 2273 0.4 0.1 68096 3448 ? S 00:48 0:00 /opt/google/chrome/google-chrome
adriano 2275 0.0 0.6 100816 13940 ? S 00:48 0:00 /opt/google/chrome/chrome --type=zygote
adriano 2320 6.6 2.1 158932 43364 ? Sl 00:48 0:07 /opt/google/chrome/chrome --type=renderer --lang=pt-BR --force-fieldtest=ConnCountImpact/conn_count_6/C
adriano 2371 4.3 1.0 117932 21952 ? Sl 00:49 0:02 /opt/google/chrome/chrome --type=plugin --plugin-path=/opt/google/chrome/libgcflashplayer.so --lang=pt-
adriano 2381 2.4 0.7 93112 14460 ? Rl 00:49 0:00 gnome-terminal
adriano 2384 0.0 0.0 2052 704 ? S 00:49 0:00 gnome-pty-helper
adriano 2385 1.9 0.1 6984 3576 pts/0 Ss 00:49 0:00 bash
root 2405 3.0 0.1 6980 3564 pts/0 S 00:49 0:00 /bin/bash
root 2424 0.0 0.0 4588 1096 pts/0 R+ 00:50 0:00 ps -aux
root@adriano-1201PN:~# ps -aux |grep firebird
Warning: bad ps syntax, perhaps a bogus '-'? See
http://procps.sf.net/faq.html
root 2426 0.0 0.0 4024 760 pts/0 S+ 00:50 0:00 grep --color=auto firebird
--------------------------------------------------------------------------------------------------------
Logo abaixo esta a parte do codigo que conecata no Banco de dados...talvez eu errei na hora de digitar o caminho não sei!
O arquivo .FDB esta em uma pasta chamada Banco na pasta home/adriano!
Sempre que eu tento executar da erro e aparece a msg que eu defini, "Problema na Conexão com a Fonte de Dados"!
{
Class.forName("org.firebirdsql.jdbc.FBDriver");
Connection conexao = DriverManager.getConnection("jdbc:firebirdsql:localhost/3050:/home/adriano/Banco/CHEQUE.FDB", "SYSDBA", "masterkey");
state = conexao.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_READ_ONLY);
}
catch (ClassNotFoundException ex)
{
JOptionPane.showMessageDialog(this, "Driver JDBC não encontrado!");
}
catch (SQLException ex)
{
JOptionPane.showMessageDialog(this, "Problema na Conexão com a Fonte de Dados");
}
Me ajudem..abraços!