under linux ps aux and ps -ef Detailed
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 make? Not much difference between the two, discuss this issue dates back two styles Unix systems, System V and BSD-style style, ps aux originally used in Unix Style, and ps -ef be used in the System V Style, both output is slightly different. Most Linux systems are now can use both of these two approaches.
ps -ef process is a standard format, which format
Where the contents of each column mean as follows
UID // user ID, but the output is the user name
ID PID // process
PPID // parent process ID
C // process CPU percentage
STIME // now time to start the process
TTY / / the processes run on the terminal, if nothing to do with the terminal, the display? If it is pts / 0, etc., is represented by a network connection to the host process.
Name and command parameter CMD //
ps aux BSD format is displayed in the following format
Ps -ef there with different lists
USER // username
% CPU // process consumes percentage of CPU
% MEM // memory-intensive percentage
VSZ // amount of virtual memory used by the process (KB)
RSS // The process uses a fixed amount of memory (KB) (in number of resident pages)
state STAT // process
sTART // the process is triggered start time
tIME // CPU running time of the actual use of the process
STAT status bits which characters have a common state
D // not interrupt sleep (usually IO process);
R // is running in the queue may be over the line;
S // in a dormant state;
T // stops or track;
W // enter memory exchange (starting from the kernel invalid 2.6);
X-process die // (basic rare);
the Z // zombies;
high <priority process //
N // lower priority process
L // some pages are locked into memory;
S // course leader (there are child processes under it);
L // multi-threading, cloning thread (use CLONE_THREAD, similar pthreads NPTL);
+ // in the background process group;