report a snapshot of the current processes
|
-a Select all processes except both session leaders (see getsid(2)) and processes not
associated with a terminal.
|
-u userlist Select by effective user ID (EUID) or name.
This selects the processes whose effective user name or ID is in userlist. The effective
user ID describes the user whose file access permissions are used by the process
(see geteuid(2)). Identical to U and --user.
|
x Lift the BSD-style "must have a tty" restriction, which is imposed upon the set of all
processes when some BSD-style (without "-") options are used or when the ps personality
setting is BSD-like. The set of processes selected in this manner is in addition to the
set of processes selected by other means. An alternate description is that this option
causes ps to list all processes owned by you (same EUID as ps), or to list all processes
when used together with the a option.
|
v Display virtual memory format
|
S Sum up some information, such as CPU usage, from dead child processes into their parent.
This is useful for examining a system where a parent process repeatedly forks off
short-lived children to do work.
|
l Display BSD long format.
-l Long format. The -y option is often useful with this.
|