********* 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下进程描述)