ps -aux查看進程狀態

http://www.cnblogs.com/dkblog/archive/2011/03/11/1980556.html



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.7  0.0   2392   596 ?        Ss    2013   0:08 init      
root         2  0.0  0.0      0     0 ?        S     2013   0:00 [migration/0]
root         3  0.0  0.0      0     0 ?        SN    2013   0:00 [ksoftirqd/0]
root         4  0.0  0.0      0     0 ?        S     2013   0:00 [migration/1]
root         5  0.0  0.0      0     0 ?        SN    2013   0:00 [ksoftirqd/1]
root         6  0.0  0.0      0     0 ?        S     2013   0:00 [migration/2]
root         7  0.0  0.0      0     0 ?        SN    2013   0:00 [ksoftirqd/2]
root         8  0.0  0.0      0     0 ?        S     2013   0:00 [migration/3]
root         9  0.0  0.0      0     0 ?        SN    2013   0:00 [ksoftirqd/3]
root        10  0.0  0.0      0     0 ?        S<    2013   0:00 [events/0]
root        11  0.0  0.0      0     0 ?        S<    2013   0:00 [events/1]
root        12  0.0  0.0      0     0 ?        S<    2013   0:00 [events/2]
root        13  0.0  0.0      0     0 ?        S<    2013   0:00 [events/3]
root        14  0.0  0.0      0     0 ?        S<    2013   0:00 [khelper]
root        15  0.0  0.0      0     0 ?        S<    2013   0:00 [kthread]
root        16  0.0  0.0      0     0 ?        S<    2013   0:00 [kblockd/0]
root        17  0.0  0.0      0     0 ?        S<    2013   0:00 [kblockd/1]
root        18  0.0  0.0      0     0 ?        S<    2013   0:00 [kblockd/2]
root        19  0.0  0.0      0     0 ?        S<    2013   0:00 [kblockd/3]
root        20  0.0  0.0      0     0 ?        S     2013   0:00 [pdflush]
root        21  0.0  0.0      0     0 ?        S     2013   0:00 [pdflush]
root        22  0.0  0.0      0     0 ?        S<    2013   0:00 [kswapd0]
root        23  0.0  0.0      0     0 ?        S<    2013   0:00 [aio/0]
root        24  0.0  0.0      0     0 ?        S<    2013   0:00 [aio/1]
root        25  0.0  0.0      0     0 ?        S<    2013   0:00 [aio/2]
root        26  0.0  0.0      0     0 ?        S<    2013   0:00 [aio/3]
root        27  0.0  0.0      0     0 ?        S<    2013   0:00 [panic_info_co]
root        28  0.0  0.0      0     0 ?        S     2013   0:00 [mtdblockd]
root        45  0.0  0.0      0     0 ?        S<    2013   0:00 [kjournald]
root        53  0.0  0.0      0     0 ?        S<    2013   0:00 [kjournald]
root       119  0.0  0.0   1948   652 ?        Ss   00:00   0:00 /usr/sbin/syslo
root       202  0.0  0.0      0     0 ?        S<   00:00   0:00 [skwlan]
root       208  0.0  0.0      0     0 ?        S    00:00   0:00 [ksocket_xmit]
root       209  0.0  0.0      0     0 ?        S    00:00   0:00 [ksocket_recv]
root       210  0.0  0.0      0     0 ?        S    00:00   0:00 [lksocket_xmit]
root       211  0.0  0.0      0     0 ?        S    00:00   0:00 [lksocket_recv]
root       256  0.0  0.0   2848  1208 ?        S    00:00   0:00 sh /usr/local/s
root       326  0.0  0.0   4524   940 ?        Ss   00:00   0:00 /usr/local/6bin
root       350  0.1  0.0  13768  1080 ?        Ssl  00:00   0:01 overseer1
root       352  0.0  0.0   2856  1200 ?        S    00:00   0:00 /bin/sh /usr/lo
root       354  0.0  0.0   2864  1236 ?        S    00:00   0:00 /bin/sh /skgate
root       369  0.0  0.0  14520  2176 ?        Sl   00:00   0:00 /skgate/mysql/l

root       377  0.0  0.0   7360  1164 ?        Ss   00:00   0:00 cmgrd-basic -s


size 內存大小, Kbytes字節. 
vsize 總虛擬內存大小, bytes字節(包含code+data+stack) 
share 總共享頁數 
nice 進程優先級(缺省爲0, 最大爲-20) 
priority(pri) 內核調度優先級 
pmem 進程分享的物理內存數的百分比 
trs 程序執行代碼駐留大小 
rss 進程使用的總物理內存數, Kbytes字節 
time 進程執行起到現在總的CPU暫用時間 



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章