1. 기본 상태
- R: Running or runnable (on run queue)
- D: Uninterruptible sleep (usually IO)
- 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.
2. Optional 상태
뒤에 l, +, L 같은게 붙은 것들이 있다. ( Ex. SL, Ss, S+ )
- <: high-priority (not nice to other users)
- N: low-priority (nice to other users)
- L: has pages locked into memory (for real-time and custom IO)
- s: is a session leader
- l: is multi-threaded (using CLONE_THREAD, like NPTL pthreads do)
- +: is in the foreground process group
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# ps -aux | more
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 2 0.0 0.0 0 0 ? S Feb15 0:00 [kthreadd]
root 4 0.0 0.0 0 0 ? S< Feb15 0:00 [kworker/0:0H]
root 6 0.0 0.0 0 0 ? S Feb15 0:05 [ksoftirqd/0]
root 7 0.0 0.0 0 0 ? S Feb15 0:05 [migration/0]
root 8 0.0 0.0 0 0 ? S Feb15 0:00 [rcu_bh]
root 9 0.0 0.0 0 0 ? S Feb15 6:13 [rcu_sched]
root 10 0.0 0.0 0 0 ? S< Feb15 0:00 [lru-add-drain]
root 11 0.0 0.0 0 0 ? S Feb15 0:05 [watchdog/0]
root 12 0.0 0.0 0 0 ? S Feb15 0:04 [watchdog/1]
root 13 0.0 0.0 0 0 ? S Feb15 0:04 [migration/1]
root 14 0.0 0.0 0 0 ? S Feb15 0:08 [ksoftirqd/1]
root 16 0.0 0.0 0 0 ? S< Feb15 0:00 [kworker/1:0H]