Linux Process Management

Source: Internet
Author: User

Procedures and processes do not correspond to each other, a program can be shared by multiple processes, the program is a static concept, and the process is the process of program execution, has a certain life cycle, is the dynamic generation and extinction.

The process that produces the child process is the parent process. The parent process dies, and the child process dies.

Foreground process

is to run in the foreground, and the user cannot before it completes another command

Background process

With &

Command: W View user's online information

Load average Server payload

Command: PS

-A shows all user processes

-E Show All processes

-U or-l View details of your own process

-le or-aux View details of the processes performed by all users

KILL-1 PID Restart process is the same as/etc/init.d/httpd restart function

View process PID Pgrep + process name Pgrep HTTDP

Pkill + process name without viewing process PID direct shutdown

Top

Linux Process Management

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.