Linux Process status

Source: Internet
Author: User

Linux Process status

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.