ps [options]

Report on active processes. Following the BSD tradition, a minus sign is allowed but not required in front of options. In options, list arguments should either be separated by commas or put in double quotes.



List other users’ processes, as well as your own.


List other users’ processes, including those without a controlling terminal.


In the command column, print just the command name, instead of the full command line.


Use a different algorithm for calculating CPU percentage which ignores resident time.


Include environment information after the command.


Print a header on each page of output.


Jobs format. Print the information for the command, jobc, pgid, pid, ppid, sess, state, time tt, and user keywords.


Produce a long listing. Print the information for the command, cpu, nice, pid, ppid, pri, rss, state, time tt, uid, vsz, and wchan keywords.


Print list of keywords (field specifiers) that can be used for output formatting or for sorting.


Sort by memory usage, not by process ID.


Show threads.

-N, --deselect

Negate the selection.

-o list

Like -O, but use only the keywords in list.

-O list

Append the keywords in list after the PID. The title of each keyword may be changed by using an = sign after the keyword (keyword = newtitle).

-p nums

Include only specified processes, which are given in a space-delimited list.


Sort by CPU usage instead of by process ID number.


Include dead child process data in parent’s total. ...

Get Unix in a Nutshell, 4th Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.