NUBSolutions

Just another WordPress.com weblog

Mematikan PID dengan TOP

Posted by hr on January 15, 2010

Kill process dengan top

[root@localhost January]# top

Tekan k, kemudian ketik nomor PID yang diinginkan

Sesuai contoh berikut
top – 09:03:52 up 1 day, 22:37, 3 users, load average: 1.03, 1.05, 1.06
Tasks: 204 total, 2 running, 202 sleeping, 0 stopped, 0 zombie
Cpu(s): 31.9%us, 18.1%sy, 0.0%ni, 49.3%id, 0.5%wa, 0.0%hi, 0.2%si, 0.0%st
Mem: 3060216k total, 2865660k used, 194556k free, 139776k buffers
Swap: 4194296k total, 0k used, 4194296k free, 2410436k cached
PID to kill:
PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
12311 nobody 20 0 20988 11m 3452 R 95.7 0.4 2334:40 Xvnc
9078 admin 20 0 86828 22m 16m S 4.0 0.8 96:23.50 smb4k
2332 admin 20 0 39492 12m 9316 S 0.3 0.4 2:51.97 gdm-user-switch
1 root 20 0 2008 776 560 S 0.0 0.0 0:00.75 init
2 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 kthreadd
3 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/0
4 root 15 -5 0 0 0 S 0.0 0.0 0:00.10 ksoftirqd/0
5 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/0
6 root RT -5 0 0 0 S 0.0 0.0 0:00.00 migration/1
7 root 15 -5 0 0 0 S 0.0 0.0 0:00.16 ksoftirqd/1
8 root RT -5 0 0 0 S 0.0 0.0 0:00.00 watchdog/1
9 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 cpuset
10 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 events/0
11 root 15 -5 0 0 0 S 0.0 0.0 0:00.00 events/1
12 root 15 -5 0 0 0 S 0.0 0.0 0:00.01 work_on_cpu/0
13 root 15 -5 0 0 0 S 0.0 0.0 0:00.11 work_on_cpu/1

Sorry, the comment form is closed at this time.

 
%d bloggers like this: