ps
Displays process status
ps [options][process-list]
The ps utility displays status information about processes.
Arguments
The process-list is a comma- or SPACE-separated list of PID numbers. When you specify a process-list, ps reports only on processes in that list. The process-list must follow all options on the command line.
Options
The version of ps that Red Hat includes takes three types of options, each preceded by a different prefix. You can intermix the options.
Two hyphens: GNU options
One hyphen: UNIX98 options
No hyphens: BSD options
-A
all Reports on all processes. Also -e.
-e
everything Reports on all processes. Also -A.
-f
full Displays a listing with more columns of information.
--forest
Displays the process tree.
-l
long Produces ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access