出现在顶部的进程实际上会被卡住吗?

出现在顶部的进程实际上会被卡住吗?

进程是否会出现top实际上被卡住的情况?

另外,我还看过一个帖子这里ps -o s= -p <pid>如果输出为 ,则命令可以显示已停止的进程T

我用各种 pid 尝试了该命令,并给了我输出RS.

T知道和R是什么S意思吗?

谢谢。

答案1

man ps 将为您提供更多详细信息:

           D    uninterruptible sleep (usually IO)
           R    running or runnable (on run queue)
           S    interruptible sleep (waiting for an event to complete)
           T    stopped by job control signal
           t    stopped by debugger during the tracing
           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

相关内容