Process
這個過程 STAT 表示什麼?
如果您檢查
STAT column
上圖,您將看到Ss S S< SN and R+
這表明什麼?Process states
. 如果是,那意義'Ss S< SN and R+'
何在?
這些確實是過程狀態。ps 指示的程序狀態為:
D Uninterruptible sleep (usually IO) R Running or runnable (on run queue) S Interruptible sleep (waiting for an event to complete) T Stopped, either by a job control signal or because it is being traced. W paging (not valid since the 2.6.xx kernel) X dead (should never be seen) Z Defunct ("zombie") process, terminated but not reaped by its parent.
附加字元是:
< high-priority (not nice to other users) N low-priority (nice to other users) L has pages locked into memory (for real-time and custom IO) s is a session leader l is multi-threaded (using CLONE_THREAD, like NPTL pthreads do) + is in the foreground process group
您還可以通過查看手冊頁找到這一切
ps
,特別是該PROCESS STATE CODES
部分。