Vis*_*lvi 59 process ps process-management stat
如果您查看STAT column
上图,您会看到Ss S S< SN and R+
这表示什么?Process states
. 如果是,那么意义'Ss S< SN and R+'
何在?
Goe*_*oez 95
这些确实是过程状态。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.
Run Code Online (Sandbox Code Playgroud)
附加字符是:
< 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
Run Code Online (Sandbox Code Playgroud)
您还可以通过在寻找发现这一切的男人页的ps
,特别是PROCESS STATE CODES
部分。