0

Could a process appear in top actually got stuck?

Besides, I have read a post here a command ps -o s= -p <pid> could show stopped process if the output is T.

I tried the command with various pid and have given me output R and S.

Any idea on what T, R and S mean?

Thank you.

1

man ps will give you more details:

           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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.