ubuntu 命令之 ps

Posted on 2008-07-22 08:34 把大海藏到心里 阅读(103) 评论(0)  编辑 收藏 所属分类: LinuxUbuntu
********* simple selection *********  ********* selection by list *********
-A all processes     显示所有进程                 -C by command name 通过命令名称
-N negate selection                  -G by real group ID (supports names)通过组ID
-a all w/ tty except session leaders  -U by real user ID (supports names)通过用户ID
-d all except session leaders         -g by session OR by effective group name通过会话或者有效的组名
-e all processes      显示所有进程                -p by process ID 通过进程编号
T  all processes on this terminal 显示在这个终端下的所有进程     -s processes in the sessions given给出的会话中的进程
a  all w/ tty, including other users  -t by tty
g  OBSOLETE -- DO NOT USE             -u by effective user ID (supports names)通过有效的用户ID
r  only running processes     只有在运行的进程        U  processes for specified users 特别的用户们的进程

x  processes w/o controlling ttys     t  by tty

 

 

 

*********** output format **********  *********** long options ***********输出格式要求
-o,o user-defined  -f full            --Group --User --pid --cols --ppid
-j,j job control   s  signal          --group --user --sid --rows --info
-O,O preloaded -o  v  virtual memory  --cumulative --format --deselect
-l,l long          u  user-oriented   --sort --tty --forest --version

-F   extra full    X  registers       --heading --no-heading --context

 

 

                    ********* misc options *********
-V,V  show version      L  list format codes  f  ASCII art forest
-m,m,-L,-T,H  threads   S  children in sum    -y change -l format
-M,Z  security data     c  true command name  -c scheduling class
-w,w  wide output       n  numeric WCHAN,UID  -H process hierarchy

~                                          

 

 

红色标记为不懂的选项(有必要看看linux下进程描述)                         


标题  
姓名  
主页
Email (博主才能看到) 
验证码 *  看不清,换一张 [登录][注册]
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      


相关链接: