OptionsOn ps itself
-a
Select all processes except both session leaders <getsid>
-d
Select all processes except session leaders
--deselect
Select all processes except those that fulfill the specified conditions
-N
Select all processes except those that fulfill the specified conditions (negates the selection)
--pid
Select by process ID <pidlist>
--ppid
Select by parent process ID. This selects the processes with a parent process ID in pidlist <pidlist>
--sid
Select by session ID <sesslist>
--tty
Select by terminal <ttylist>
U
Select by effective user ID (EUID) or name <userlist>
-U
Select by real user ID (RUID) or name <userlist>
-u
Select by effective user ID (EUID) or name <userlist>
--User
Select by real user ID (RUID) or name <userlist>
--user
Select by effective user ID (EUID) or name <userlist>
-c
Show different scheduler information for the -l option
--context
Display security context format (for SE Linux)
--cols
Set screen width <n>
--columns
Set screen width <n>
--cumulative
Include some dead child process data (as a sum with the parent)
--forest
ASCII art process tree
-H
Show process hierarchy (forest)
--headers
Repeat header lines, one per page of output
-n
Set namelist file <namelist>
--lines
Set screen height <n>
--no-headers--no-heading
Print no header line at all
--rows
Set screen height <n>
--sort
Specify sorting order <spec>
--width
Set screen width <n>
-L
Show threads, possibly with LWP and NLWP columns
-T
Show threads, possibly with SPID column
--help
Print a help message
--info
Print debugging info
--version
Print the procps version