Ps

可能出現在頂部的程序實際上被卡住了嗎?

  • October 20, 2017

一個程序是否會出現在top實際上被卡住了?

此外,我在這裡閱讀了一篇文章,ps -o s= -p <pid>如果輸出為T.

我用各種 pid 嘗試了命令,並給了我輸出RS.

T關於什麼和意思R的任何想法?S

謝謝你。

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

引用自:https://unix.stackexchange.com/questions/399344