top cheatsheet

The top command displays a real-time view of the running processes in a Unix-like operating system.

Shortcuts

Shortcut Description
h shows help
q quits the program
m switches memory view
1 switches cpu view
k kills process
Shift+p sorts by CPU usage
Shift+m sorts by memory usage
Shift+r reverses sorting
Shift+l searches for string
o adds a filter
u filter user
= clears filters
V Forest view
c show full path