Linux Process Management

Source: Internet
Author: User

1. Process: Running Program

2. Role of Process Management: (1) Determine the health status of the server (2) View all processes in the system (3) Kill process

3. View all the process Linux commands

(1) PS aux (2) Ps-le

Option: A: Displays all processes of a terminal, except session leader

U: Show the user and memory usage of the process

x: Show process without control terminal

-L: Long format display for more detailed information

-e: Show All Processes

Output of the 4.ps command

(1) User: Who generated the process

(2) PID: ID number of the process

(3)%CPU: The process consumes a percentage of CPU resources, the higher the consumption, the more resources the process consumes

(4)%MEM: The process consumes the percentage of physical memory, the higher the consumption, the more resources the process consumes

(5) VSZ: The size of the virtual memory that the process occupies, in kilobytes

(6) RSS: The process consumes the actual physical memory size, in kilobytes

(7) TTY: Which terminal the process is running on

(8) STAT: Process status,

(9) Start: The start time of the process

(10) Time: The process takes up the CPU's operating hours

(11) Command: Produces the name of this process

5.pstree Viewing the process tree

Option:-P: Show PID of the process

-U: Shows the user who owns the process

Linux Process Management

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.