top
Watch the system load and processes live
What it does
top shows processes and refreshes the list every few seconds. At the top is a summary: uptime, load average, memory and swap. By default the processes are sorted by CPU use.
Shift+M sorts by memory, Shift+P back by CPU, k offers to end a process by PID, and q quits. Many people install htop: the same thing, in color and easier to use; you may need to install it first.
Syntax
top
htopExamples
Watch live which processes load the CPU and memory
toptop— process monitor; quit with q