Summary of linux Processes

Source: Internet
Author: User
Summary of linux processes-general Linux technology-Linux programming and kernel information. The following is a detailed description. Process concept: A process is a running instance, which is the basic scheduling unit of linux. A process consists of the following elements:

1. Current context of the program and current execution status of the program

2. Current execution directory of the program

3. The current directory and file accessed by the program

4. Program Trust status

5. Memory and other system resources allocated to the Process

The kernel uses processes to control the access to cpu and other system resources, and uses processes to determine the program running on the cpu, how long it will run, and how well it will run with such features. The kernel scheduler allocates cpu time in multiple process parts, called time slices. He takes turns to get control of each process after the time slice is used up.

The most important feature of a process is the process number and the parent process number. The ancestor of all processes is the process init with process number 1. Init guides the system, starts the daemon process and runs necessary processes.
Related Article

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.