Chinaunix首页 | 论坛 | 博客
  • 博客访问: 1021438
  • 博文数量: 297
  • 博客积分: 11721
  • 博客等级: 上将
  • 技术积分: 3431
  • 用 户 组: 普通用户
  • 注册时间: 2009-05-25 10:21
文章分类

全部博文(297)

文章存档

2016年(9)

2011年(71)

2010年(137)

2009年(80)

分类: LINUX

2011-01-04 16:41:46

[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.
阅读(1938) | 评论(0) | 转发(0) |
0

上一篇:获取进程id

下一篇:LINUX 线程函数大全

给主人留下些什么吧!~~