сообщить снимок текущих процессов (report a snapshot of the current processes.)
SIMPLE PROCESS SELECTION
a
Lift the BSD-style "only yourself" 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 with a
terminal (tty), or to list all processes when used
together with the x
option.
-A
Select all processes. Identical to -e
.
-a
Select all processes except both session leaders (see
getsid(2)) and processes not associated with a terminal.
-d
Select all processes except session leaders.
--deselect
Select all processes except those that fulfill the
specified conditions (negates the selection). Identical
to -N
.
-e
Select all processes. Identical to -A
.
g
Really all, even session leaders. This flag is obsolete
and may be discontinued in a future release. It is
normally implied by the a
flag, and is only useful when
operating in the sunos4 personality.
-N
Select all processes except those that fulfill the
specified conditions (negates the selection). Identical
to --deselect
.
T
Select all processes associated with this terminal.
Identical to the t
option without any argument.
r
Restrict the selection to only running processes.
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.