Centos query and kill Processes

Source: Internet
Author: User

PS aux | grep XXX Query Process

Ps a shows all programs under the current terminal, including those of other users.
PS-A shows all programs.
When listing programs in ps c, the real command name of each program is displayed without the path, parameter, or resident service identifier.
The effect of this parameter is the same as that of the specified "A" parameter.
When listing programs, PS e displays the environment variables used by each program.
Ps f uses ASCII characters to display the tree structure and express the relationship between programs.
The PS-H tree structure is displayed, indicating the relationship between programs.
PS-N displays all programs except the programs under the ps command terminal.
PS uses the program signal format to display the program status.
When listing programs in PS, it includes interrupted subroutines.
PS-T <terminal number> specifies the terminal number and lists the program status of the terminal.
Ps u displays the program status in user-based format.
Ps x shows all programs, not distinguished by terminals.

 

Kill-9 XXX kill the process

Centos query and kill 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.