htop is an interactive process viewer for Unix-like systems that provides a colorful and user-friendly interface to monitor system performance. Here’s what it typically shows:
Key Components:
-
Header:
- CPU Usage: Displays the percentage of CPU usage for each core, often represented with color-coded bars.
- Memory Usage: Shows the total, used, and free memory, along with a visual representation.
- Swap Usage: Indicates the usage of swap space.
-
Body:
- Process List: A list of currently running processes, including:
- PID: Process ID.
- USER: The user who owns the process.
- PR: Process priority.
- NI: Nice value, which affects scheduling priority.
- VIRT: Virtual memory used by the process.
- RES: Resident memory (physical memory).
- SHR: Shared memory.
- S: Process status (e.g., running, sleeping).
- %CPU: CPU usage percentage.
- %MEM: Memory usage percentage.
- TIME+: Total CPU time used by the process.
- COMMAND: The command that started the process.
- Process List: A list of currently running processes, including:
-
Footer:
- Keyboard Shortcuts: Displays available commands for navigation and actions, such as:
F1or?: HelpF2: Setup menuF3: Search for a processF5: Tree viewF9: Kill a processF10: Quithtop
- Keyboard Shortcuts: Displays available commands for navigation and actions, such as:
Benefits:
- Real-time Monitoring: Provides live updates on system performance.
- User-Friendly Interface: Easier to read and navigate compared to the traditional
topcommand. - Process Management: Allows users to sort, filter, and manage processes directly from the interface.
If you have more questions about using htop or need further details, feel free to ask!
