Usage:ps [Options] Basic options:-A,-e all processes-a all with TTY, except Sessio N leaders a all with TTY, including and users-d all except session leaders-n, --deselect Negate selection R only running processes T all processes on this Terminal x processes without controlling TTYs Selection by list:-C <command> Command Name-g,--group <gid> Real group ID or NAME-G,--group <group> session or effective Group name-p,- -PID <pid> Process ID--ppid <pid> Select by parent process id-s,--sid <session> Sessi On Id-t, T,--tty <tty> terminal-u, u,--user <uid> effective user ID or name-u,--user <uid>
Real user ID or name selection <arguments> take either:comma-separated list e.g. '-u root,nobody ' or blank-separated list e.g.
'-P 123 4567 ' Output formats:-F extra full-f full-format, including command lines F,--forest ASCII art process tree-h show process hierarchy-j jobs form At J BSD Job control format-l long format L BSD long format- M, Z Add security data (for SELinux)-O <format> preloaded with default columns O <for Mat> As-o, with BSD Personality-o, O,--format <format> User defined format s
Signal format u user-oriented format v virtual memory format X Register format-y do not show flags, show RRs vs. addr (used with-l)--conte XT Display security context (for SELinux)--headers Repeat header lines, one per page--no-headers Do not print headEr at all--cols,--columns,--width <num> set screen width--rows,--lines <num&
Gt Set screen height Show threads:h as if they where processes-l possibly with LWP and Nlwp columns-m, m after processes-t possibly with SPID column miscellaneous Opti ONS:-C Show scheduling class With-l option C Show true command name E
Show the environment after command K,--sort specify sort order as: [+|-]key[,[+|-]key[,...]] L list format specifiers n display numeric uid and Wchan S,--cumulative inclu De some dead child process data-y does not show flags, show RSS (only with-l)-V,--version dis Play version information and exit-w, W unlimited output width--help <simple|list|output|thre Ads|misc|all> display Help and exit For more details see PS (1).