How to Monitor System Resources with htop
htop is an interactive process viewer for Linux that provides a real-time overview of CPU, RAM, and swap usage with a user-friendly interface.
Install htop
sudo apt install htop # Debian/Ubuntu sudo dnf install htop # Fedora/RHEL
Launch htop
htop
Key Shortcuts Inside htop
F6— Sort by columnF9— Kill a processF5— Tree viewF4— Filter by name
Filter Processes by User
htop -u www-data