Linux Process state transition diagram

Source: Internet
Author: User

Linux process status in Linux kernel process status

Operational status (task_running)

A state that is being run or ready by the CPU. Such a process is becoming a runnning process. The process of running state can be divided into 3 cases: Kernel running state, user running state, ready state.

Interruptible sleep status (task_interruptible)

A process that is in the waiting state, and once the resource that the process waits for is freed, the process goes into a running state.

Non-disruptive Sleep state (task_uninterruptible)

Processes in this state can only be awakened with the wake_up () function.

Paused State (task_stopped)

When a process receives a signal sigstop, SIGTSTP, Sigttin, or Sigttou, it enters a paused state. You can send a sigcont signal to it to make the process transition to a running state.

Zombie State (Task_zombie)

When the process has stopped running, but the parent process has not yet asked for its status.



http://www.frankyang.cn/2017/05/13/linux-jin-cheng-zhuang-tai/

Linux Process state transition diagram

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.