==>ps of Linux monitoring commands

Source: Internet
Author: User

I. Description of the Order

The PS command is the most basic and very powerful process view command. Use this command to determine which processes are running and running, whether the process is complete, if the process is dead, which processes are consuming too many resources, and so on. In short, most of the information can be obtained by executing the command.

Second, parameter description

    • PS A: Displays all programs under the current terminal, including other users ' programs.
    • PS-A: Shows all programs.
    • PS C: When the program is listed, the actual instruction name of each program is displayed, without the indication of the path, parameter, or resident service.
    • PS-E: The effect of this parameter is the same as specifying the "A" parameter.
    • PS E: Displays the environment variables used by each program when the program is listed.
    • PS F: Displays the tree structure with ASCII characters and expresses the relationship between the programs.
    • Ps-h: Displays a tree structure that represents inter-program relationships.
    • Ps–n: Shows all the programs except the ones under the PS command Terminal.
    • PS S: Show program status using program signal format.
    • PS S: When listing programs, include interrupted sub-program data.
    • ps-t< Terminal number >: Specify the terminal number and list the status of the program that belongs to the terminal.
    • PS U: the user-oriented format to display the status of the program.
    • PS x: Shows all programs, not the terminal to distinguish.
    • Ps-l: The PID information is displayed longer and more detailed.

Iii. Introduction of specific usage

==>ps of Linux monitoring commands

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.