Processes

ps

Reports current processes.

ps prints a snapshot of processes. It is useful for finding PIDs, owners, CPU usage, and command lines.

Syntax
ps [options]

Arguments explained

  • aux is a common BSD-style combination for all users and detailed output.
  • -ef is a common POSIX/System V style listing.
  • -p selects a PID.

Common examples

List all processes
ps aux

Shows processes from all users with CPU and memory columns.

Inspect one PID
ps -fp 1234

Shows a full-format listing for PID 1234.

ps Command
FieldDetails
Commandps
CategoryProcesses
Primary useReports current processes.
Syntaxps [options]