针对以下命令:ps aux
| Code | Meaning |
|---|---|
| D | 不可中断睡眠 (IO) |
| R | 运行中或可运行 |
| S | 可中断睡眠 (waiting for an event to complete) |
| T | 暂停 |
| W | 换页中 |
| X | 死掉 |
| Z | 僵尸进程 |
除了以上状态,有时状态后还有些额外信息
| Code | Meaning |
|---|---|
| < | 高优先级 |
| N | 低优先级 |
| L | 存在常驻内存页 |
| s | 会话头 |
| l | 多线程 |
| + | 在前台进程组中 |
参考:http://thelinuxstuff.blogspot.com/2012/08/process-state-codes-in-ps-output.html