[fpf@localhost examples]$ ps aux | grep ./main | grep -v grep
fpf 10505 96.5 0.0 206912 620 pts/0 Rl+ 16:37 0:09 ./main
Column[3] Contents
USER (BSD) Username of process owner.
UID (System V) Username of process owner.
PID Process ID.
%CPU Estimated fraction of CPU consumed (BSD).
%MEM Estimated fraction of system memory consumed (BSD).
SZ Virtual memory used in K (BSD) or pages (System V).
RSS Real memory used (in same units as SZ).
TT, TTY Terminal port associated with process.
STAT (BSD), Current process state; one (or more under BSD) of:
S (System V)
R: Running or runnable.
S: Sleeping.
I: Idle (BSD). Intermediate state (System V).
T: Stopped (12.8 ) .
Z: Zombie process (38.16 ) .
D (BSD): Disk wait.
P (BSD): Page wait.
X (System V): Growing: waiting for memory.
K (AIX): Available kernel process.
W (BSD): Swapped out.
N (BSD): Niced (39.9 , 39.11 ) :execution priority lowered.
> (BSD): Execution priorityartificially raised (39.11 ) .
TIME Total CPU time used.
COMMAND Command line being executed (may be truncated).
STIME (System V) Time or date process started.
C (System V), Short term CPU-use factor; used by scheduler for
CP (BSD) computing execution priority (PRI below).
F Flags associated with process (see ps manual page).
PPID Parent's PID.
PRI Actual execution priority (recomputed dynamically).
NI Process nice number (39.9 ) .
WCHAN
Event process is waiting for.
阅读(1995) | 评论(0) | 转发(0) |