The process management of Linux Learning

Source: Internet
Author: User

1. View all processes in the system

PS aux is generally used in Unix, Ps-le is generally used in Linux.


2. Field description of the process list



3, check the health status of the system

The top command executes the following results:

The three items which are framed are important indicators for judging the health of the system.


The head 5 line is the key data to judge the health of the system, the following describes the meaning of each line.

First line:

Where load average determines whether the value of the load threshold 1 is based on the number of cups cores to determine. If it is a single core then the threshold is 1, if it is 8 cores then the threshold is 8.

Second line:

Where zombie represents the process being terminated but has not been terminated. If the zombie has been greater than 0 over a period of time, it indicates that a process has failed to terminate due to an error during termination.

Third line:

The main view is the CPU percentage of the idle CPU, for example 99.7%id, the smaller the value, the larger the load.

Line four:

Line five:


4. View Process Tree Pstree


5. View the available process signals kill-l

The process signals are described as follows:


6. Restarting the process and forcing the process to terminate

Format like kill-Signal code PID

After the parent process is killed, the child process is killed.


7. Kill the process according to the process name Killall

The Pkill command can also kill a process based on the process name.

8, according to terminal number kick out user Pkill

Although the Killall command can also kill the process based on the process name, the Pkill command can also kick the user based on the terminal number.

Specific examples include:


The process management of Linux Learning

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.