Subversion Repositories ALCASAR

Rev

Details | Last modification | View Log

Rev Author Line No. Line
2776 rexy 1
Processes state translation table
2
-----Linux (Android)
3
[R] R   Running
4
[S] S   Sleeping in an interruptible wait
5
[D] D   Waiting in uninterruptible disk sleep
6
[Z] Z   Zombie
7
[T] T   Stopped (on a signal) or (before Linux 2.6.33) trace stopped
8
    t   Tracing stop (Linux 2.6.33 onward)
9
    W   Paging (only before Linux 2.6.0)
10
    X   Dead (from Linux 2.6.0 onward)
11
    x   Dead (Linux 2.6.33 to 3.13 only)
12
    K   Wakekill (Linux 2.6.33 to 3.13 only)
13
    W   Waking (Linux 2.6.33 to 3.13 only)
14
    P   Parked (Linux 3.9 to 3.13 only)
15
-----FreeBSD
16
[D] D   Marks a process in disk (or other short term, uninterruptible) wait.
17
[S] I   Marks a process that is idle (sleeping for longer than about 20 seconds).
18
[D] L   Marks a process that is waiting to acquire a lock.
19
[R] R   Marks a runnable process.
20
[S] S   Marks a process that is sleeping for less than about 20 seconds.
21
[T] T   Marks a stopped process.
22
    W   Marks an idle interrupt thread.
23
[Z] Z   Marks a dead process (a ``zombie'').
24
-----NetBSD
25
[D] D   Marks a process in disk (or other short term, uninterruptible) wait.
26
[S] I   Marks a process that is idle (sleeping for longer than about 20 seconds).
27
[R] O   Marks a process running on a processor.
28
[R] R   Marks a runnable process, or one that is in the process of creation.
29
[S] S   Marks a process that is sleeping for less than about 20 seconds.
30
[T] T   Marks a stopped process.
31
    U   Marks a suspended process.
32
[Z] Z   Marks a dead process (a ``zombie'').
33
-----OpenBSD
34
[D] D   Marks a process in disk (or other short term, uninterruptible) wait.
35
[S] I   Marks a process that is idle (sleeping for longer than about 20 seconds).
36
[R] R   Marks a runnable process.
37
[S] S   Marks a process that is sleeping for less than about 20 seconds.
38
[T] T   Marks a stopped process.
39
[Z] Z   Marks a dead process (a ``zombie'').
40
-----Darwin
41
[S] I   Marks a process that is idle (sleeping for longer than about 20 seconds).
42
[R] R   Marks a runnable process.
43
[S] S   Marks a process that is sleeping for less than about 20 seconds.
44
[T] T   Marks a stopped process.
45
[D] U   Marks a process in uninterruptible wait.
46
[Z] Z   Marks a dead process (a ``zombie'').
47
[d] D  [invalid state]
48
-----Minix
49
[R] R   runnable
50
[S] S   sleeping (i.e.,suspended on PM or VFS)
51
[T] T   stopped
52
[D] W   waiting (on a message)
53
[Z] Z   zombie
54
[d] D  [invalid state]
55
-----DragonFly
56
    B   Marks a blocked kernel thread.
57
[D] D   Marks a process in disk (or other short term, uninterruptible) wait.
58
[S] I   Marks a process that is idle (sleeping for longer than about 20 seconds).
59
    J   Marks a process which is in jail(2).  The hostname of the prison can be found in /proc/<pid>/status.
60
[R] R   Marks a runnable process and is followed by the CPU number.
61
[S] S   Marks a process that is sleeping for less than about 20 seconds.
62
[T] T   Marks a stopped process.
63
[Z] Z   Marks a dead process (a ``zombie'').
64
-----SunOS
65
[R] O   Process is running on a processor.
66
[S] S   Sleeping: process is waiting for an event to complete.
67
[R] R   Runnable: process is on run queue.
68
[T] T   Process is stopped, either by a job control signal or because it is being traced.
69
[D] W   Waiting: process is waiting for CPU usage to drop to the CPU-caps enforced limits
70
[Z] Z   Zombie state: process  terminated  and parent not waiting.
71
[d] D  [invalid state]