ps命令输出,进程状态

针对以下命令:ps aux

CodeMeaning
D 不可中断睡眠 (IO)
R 运行中或可运行
S 可中断睡眠 (waiting for an event to complete)
T 暂停
W 换页中
X 死掉
Z 僵尸进程

除了以上状态,有时状态后还有些额外信息

CodeMeaning
< 高优先级
N 低优先级
L 存在常驻内存页
s 会话头
l 多线程
+ 在前台进程组中

参考:http://thelinuxstuff.blogspot.com/2012/08/process-state-codes-in-ps-output.html

原文地址:https://www.cnblogs.com/D3Hunter/p/3164942.html