Reprint: Fashion goes in cycles east, the homeland of painful moon
Under Linux display system processes the command ps, the most commonly used and ps -ef ps aux, both in the end what difference does it discuss the issue, going back to Unix systems in two styles, syetem V style, ps aux initially used in Unix style, and ps -ef be used in the system V style, both output slightly different, most Linux systems are now using these two styles at the same time
ps -ef process is a standard format, which format
Wherein contents of each column of the following meanings
UID user ID, but the output is the user name
PID process ID
PPID parent process ID
The percentage of CPU-C process
STIME process to enable time now
TTY The process running on the terminal which, if nothing to do with the terminal, the display? , If it is pts / 0, etc., it is represented by a network connection to the host process
CMD command name and parameters
ps aux BSD format is displayed in the following format
Wherein contents of each column of the following meanings
USER username
Percentage% CUP CUP occupied by the process
% MEM The percentage of memory occupied
VSZ virtual memory (KB) used by this process
RSS fixed amount of memory (KB) (the number of resident pages) consumed by this process
STAT process state
The START process is triggered the start time
TIME The actual process time is running CUP
COMMEND command executed
STAT common status characters have transited
D can not interrupt the dormancy state
R is being implemented
S dormant state
T stopped or track
W into the memory swap (invalid from the beginning of a kernel 2.6)
the X-die process (basic rare)
Z zombie process (temporarily absent but not eliminate)
<A higher priority process
N lower-priority process
L Some pages are locked into memory
s process leaders (there are child processes under it)
l multithreading, clone thread
+ In the background process group