Definition:

  • report a snapshot of the current processes.

Synopsis:

  • ps [options]

List of options:

Simple:
  • p <pid>: display info of process pid
  • -a:
    • Select all processes except both session leaders (see getsid(2)) and processes not associated with a terminal.
  • -e: Select all processes. Identical to -A.
Selection by list:
  • -u: user-oriented format
  • -f: display supplementary info