Skip to content

Instantly share code, notes, and snippets.

@defHLT
Created April 2, 2015 02:12
Show Gist options
  • Save defHLT/e68867f7ea0afe1a2b9b to your computer and use it in GitHub Desktop.
Save defHLT/e68867f7ea0afe1a2b9b to your computer and use it in GitHub Desktop.
PROCESS STATE CODES
Here are the different values that the s, stat and state output specifiers (header "STAT" or "S") will 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 an event to complete)
T stopped, either by a job control signal or because it is 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment