open a terminal
and do this
QUOTE
top
CODE
Tasks: 113 total, 5 running, 107 sleeping, 0 stopped, 1 zombie
Cpu(s): 5.5% us, 0.4% sy, 0.1% ni, 93.6% id, 0.3% wa, 0.1% hi, 0.0% si, 0Mem: 507396k total, 496892k used, 10504k free, 40692k buffers
Swap: 1048568k total, 152k used, 1048416k free, 178100k cached
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
22406 anyweb 15 0 267m 33m 12m S 47.6 6.7 76:34.80 java_vm
2630 root 15 0 324m 59m 11m S 2.0 12.1 86:58.67 Xorg
2820 anyweb 15 0 63388 8428 7080 S 2.0 1.7 0:04.36 gnome-netstatus
1 root 15 0 1996 676 584 S 0.0 0.1 0:00.80 init
2 root 34 19 0 0 0 S 0.0 0.0 0:00.00 ksoftirqd/0
3 root RT 0 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
4 root 10 -5 0 0 0 S 0.0 0.0 0:00.09 events/0
5 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khelper
6 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kthread
8 root 10 -5 0 0 0 S 0.0 0.0 0:00.37 kblockd/0
9 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 kacpid
139 root 10 -5 0 0 0 S 0.0 0.0 0:00.00 khubd
141 root 10 -5 0 0 0 S 0.0 0.0 0:00.03 kseriod
198 root 20 0 0 0 0 S 0.0 0.0 0:00.00 pdflush
199 root 15 0 0 0 0 S 0.0 0.0 0:00.04 pdflush
200 root 15 0 0 0 0 S 0.0 0.0 0:01.24 kswapd0
201 root 20 -5 0 0 0 S 0.0 0.0 0:00.00 aio/0
it should list a bunch of processes...
(CTRL_C to quit top)if you know which process you want to close (kill) then you must first find out it's PID (process identification number)
eg: if you want to kill/close FIREFOX then try this in a terminal
stage one: find it
CODE
ps aux |grep firefox
results below...
QUOTE
[anyweb@localhost ~]$ ps aux |grep firefox
anyweb 3531 0.0 0.2 4396 1064 ? S Jul14 0:00 /bin/sh /usr/lib/firefox-1.5.0.4/firefox -UILocale en-US
anyweb 23625 0.0 0.1 3912 648 pts/1 R+ 00:00 0:00 grep firefox
stage two: kill it (close the application)
CODE
kill -9 3531
the 3531 is the PID of the program, the second one listed is me actually grepping it in the firstplace...
if more than one PID is listed for your chosen program then you should kill each one individually or try
pkill PID
done !
cheers
anyweb