ps aux

List all running processes with CPU and memory usage

ps aux shows every process on the system. a = all users, u = user-friendly format, x = include processes without a terminal. Key columns: PID, %CPU, %MEM, STAT, COMMAND.

Example

$ ps aux | head -3
USER    PID %CPU %MEM COMMAND
root      1  0.0  0.1 /sbin/init
root    512  0.0  0.0 /usr/sbin/sshd
Tip: Type it yourself in the terminal below - reading is not the same as doing.