Linux Process status, linux Process
Execute the top command in the operating system. The S column lists the process states and explains several process states:
Processes are roughly divided into the following states:
D. Uninterruptible sleep (usually IO) cannot be interrupted)
R is running or a process in the queue
S is in sleep state
T stop or be tracked
Z botnets
W enters the memory switch (it is invalid from kernel 2.6)
X Dead Process
Sometimes you can use ps aux to check the Process status, such as Sl, R +. This shows the detailed identifier of the process. S is
Sleep state, and the following l indicates that the process is a multi-thread.
<High priority
N Low priority
L some pages are locked into memory
S contains sub-Processes
+ Process group in the background;
L multithreading, clone thread multi-threaded (using CLONE_THREAD, like NPTL pthreads do)