htop is an interactive process viewer — a better alternative to top.
Install
apt install htop -yUsage
htopKey Controls
F2— Setup/configureF3— Search processesF4— Filter processesF5— Tree viewF6— Sort by columnF9— Kill processF10— Quit
Understanding the Display
- Top bars: CPU and memory usage per core
- Process list: PID, user, CPU%, MEM%, command
- Bottom: shortcuts and totals