Linux Learning Notes (7)-Process

Source: Internet
Author: User

Start learning process tomorrow, in the previous SCM development, there is no process this concept, but from the Internet to understand that this thing in the operating system seems to have a very important position, must study hard!

——————————————————————————————————————————————————————————————————

Program is a generic file that is a collection of instruction sequences and data that is prepared for a specific task and stored on disk in an "executable image" format. For example: hello.c source program files are compiled after the a.out program, wherein the A.out file is an executable image format, Linux/bin,/sbin,/usr/bin,/usr/sbin directory to save a lot of program files.


A process is an instance of a program that has started execution but has not yet been terminated. Using the PS command under the Linux system, you can view the currently executing process. Each process contains resources such as the process runtime environment, the memory address space, the process ID, and at least one execution control flow called a thread. The same program can be instantiated as multiple process entities. All process entities in the operating system share the CPU, peripherals and other resources of the computer system.

The current state of a process can be observed when the Linux system uses the "Ps-aux" command:

  

Each process is created with a process ID assigned to it to identify the current process, such as the 1,2,3,4 in ...

That process, called Init, is the mother of all processes, so her process ID is 1.

  

Linux Learning Notes (7)-Process

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.