← System & Processes
Linux · System & Processes

How to list running processes in Linux

List running processes with ps, including the full command, owner, CPU and memory, using ps -ef and ps aux.


List processes with ps. Two classic forms cover almost everything: ps -ef for a full listing and ps aux for CPU and memory.

# Every process, full command line
ps -ef

# BSD style with %CPU and %MEM
ps aux

# Just one program's processes (the [s] trick skips the grep itself)
ps -ef | grep [s]shd

# Custom columns
ps -eo pid,ppid,user,%cpu,%mem,stat,start,cmd
LinuxpsProcesses