Process status Code and Description:
State code |
Description |
D |
Non-disruptive sleep. is usually in I/O. |
R |
Run-in/can run. is in the running queue. |
S |
Sleep can be interrupted. Wait for an event to occur. |
T |
Has stopped. This may be because the shell job control or process is being debugged. |
W |
The page is paged. Not available for kernel 2.6.xx and later versions. |
X |
Death. Will never appear again. |
Z |
Dead/Zombie process. |
< |
High-priority tasks. |
N |
Low-priority tasks. |
L |
Paging memory is locked into memory. Used for real-time tasks and custom I/O. |
S |
Session first process. |
L |
is a multithreaded process. Cloning threads like Pthreads. |
+ |
In the foreground process group. |
English Original:
PROCESS State CODES Here is the different values that the S, stat and state output specifiers (header "Stat" or "s") would Display to describe the state of a process:
D uninterruptible sleep (usually IO) R Running or runnable (on run queue) S interruptible Sleep (waiting for a event to complete) T stopped, either by a job control signal or because it's being traced 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
for BSD formats and when the STAT keyword are used, additional characters may be displayed:
< High-priority (not nice-to-other users) N low-priority (Nice-to-other users) L have pages locked to memory (for real-time and custom IO) S is a session leader L was multi-threaded (using Clone_thread, like NPTL pthreads do) + is in the foreground process group
|
Reference:
1. Online Manual: Http://man7.org/linux/man-pages/man1/ps.1.html
Linux status (Linux process state Codes)