ps auxstep 1 of 7
See what’s running
Every program running on a computer is a process, and each one has a number, its PID (process ID). ps on its own lists only the ones started from this terminal:
$ ps PID TTY TIME CMD 1201 pts/0 00:00:00 bash 2301 pts/0 00:00:00 ps
Add aux (no dash, an old tradition) to see everything, from every user and every terminal. The columns that matter most:
USER: who started itPID: its number, which you need to stop it%CPUand%MEM: how hard it’s workingCOMMAND: what it actually is
Your turn, in the terminal
- List every running process