The difference between ps-ef and PS aux

Source: Internet
Author: User

  • 1th
    -efis the System V display style, andauxis BSD style.
    650) this.width=650; "src=" http://img.blog.csdn.net/20151205160444646 "alt=" BSD Style "title=" "style=" border:none; "/ >
    Field Meaning:
    User: Name
    PID: Process Number
    %cpu: Percentage of CPU consumed by process
    %MEM: Percentage of the process consuming physical memory
    VSZ: The amount of virtual memory that the process occupies (in KB)
    RSS: The amount of physical memory that the process occupies (in KB)
    TT: Terminal name (abbreviation), if it is? , this process is independent of the terminal, because they are initiated by the system
    STAT: Process state, where S-sleep, s-means that the process is the pilot process of the session, N-Indicates that the process has a lower priority than the normal priority, R is running, D-short wait, Z-zombie process, T is tracked or stopped, etc.
    STARTED: Start time of the process
    Time:cpu time, which is the total time that the process uses the CPU
    Command: The commands and parameters used to start the process, if too long, are truncated to show
    650) this.width=650; "src=" http://img.blog.csdn.net/20151205170231254 "alt=" System v Style "title=" "style=" Border:none; " />
    Field Meaning:
    UID: User ID
    PID: Process ID
    PPID: Parent Process ID
    C:cpu the factor used to calculate the execution priority. A higher value indicates that the process is CPU intensive, the execution priority decreases, and the smaller the value, indicating that the process is an I/O intensive operation and the execution priority increases
    Stime: The time the process started
    TTY: Full terminal name
    TIME:CPU time
    CMD: The command and parameters used by the full boot process

  • 2nd
    If the COMMADN column is too long, the aux display will be truncated without ef

Comprehensive:
If you want to see the CPU usage and memory usage of the process, you can use aux the
If you want to see the process's parent process ID and the full command command, you can use theef


This article from "愺 Burgundy pounding his 豩" blog, declined reprint!

The difference between ps-ef and PS aux

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.