分类:
2008-05-06 15:10:47
bash-3.2$ alias ckps="ps -o pid,ppid,s,tty,time,args" |
bash-3.2$ same-gnome
^Z [2]+ Stopped same-gnome |
bash-3.2$ ckps PID PPID S TT TIME COMMAND 12399 6868 S pts/7 00:00 bash 12591 12399 T pts/7 00:01 same-gnome 12592 12591 T pts/7 00:00 same-gnome 12594 12399 O pts/7 00:00 ps -o pid,ppid,s,tty,time,args |
bash-3.2$ kill -25 12591 12592 |
bash-3.2$ ckps PID PPID S TT TIME COMMAND 12399 6868 S pts/7 00:00 bash 12596 12399 O pts/7 00:00 ps -o pid,ppid,s,tty,time,args 12591 12399 S pts/7 00:01 same-gnome 12592 12591 S pts/7 00:00 same-gnome |
用户进程 | 描述 |
O | Nonexist |
A | Active |
W | Swapped |
I | Idle(Waiting for startup) |
Z | Canceled |
T | Stopped |