Interpreting the htop output involves understanding its three main sections:
-
Header:
- Displays system metrics such as CPU usage, memory usage, and swap usage.
- Each CPU core is typically shown separately, with usage represented as a percentage.
-
Body:
- Lists all running processes, sorted by default by CPU usage.
- Each process shows details like PID (Process ID), user, priority, and memory usage.
- You can change the sorting order by pressing
F6and selecting a different criterion.
-
Footer:
- Contains keyboard shortcuts for navigation and actions.
- Common shortcuts include:
F1or?: HelpF2orS: Setup menuF3or/: Search for a processF5orT: Tree viewF9orK: Kill a processF10orQ: Quithtop
By using the arrow keys, you can navigate through the list of processes and use the shortcuts for various actions.
