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.

  1. Two hyphens: GNU options

  2. One hyphen: UNIX98 options

  3. 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 ...

Get A Practical Guide to Red Hat® Linux® 8 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.