top command.
Run htop
Start htop to monitor your system:You’ll see an interactive interface showing:
- CPU usage
- Memory usage
- Running processes
- System load
Basic htop navigation
Process management
F9- Kill a processF4- Filter processesF5- Tree viewF6- Sort by column
System information
F1- HelpF2- SetupF3- SearchF10- Quit
Mouse support
- Click on column headers to sort
- Click on processes to select them
- Use scroll wheel to navigate
htop configuration
Create a custom configuration file:Alternative system monitors
Install glances (more detailed)
Install bashtop (modern interface)
Next Steps
Now that htop is installed, you can:- Monitor system performance in real-time
- Identify resource-intensive processes
- Manage running processes
- Troubleshoot system issues