System and processes
The ps command
Shows the processes running on the system.
Syntax
ps [aux]Most useful options
auxEvery process, with user and resource usage-eEvery process-fLong format with the full commandCopy-ready examples
$ psYour processes in this terminal$ ps auxEverything running on the systemYou can try them in the browser terminal: it does not touch your computer.
Typical mistakes
- Each process has a PID, its identity number to manage it.
FAQ
How do I watch processes live?
With top or htop, which refresh by themselves.
Learn to actually use it
The basic Linux course takes you from zero to console fluency with 24 self-grading lessons.
Start the free course