-
-
Notifications
You must be signed in to change notification settings - Fork 3
Linux htop Guide
Mattscreative edited this page Dec 5, 2025
·
2 revisions
Complete beginner-friendly guide to htop on Linux, covering Arch Linux, CachyOS, and other distributions including installation, process monitoring, and system resource tracking.
Arch/CachyOS:
# Install htop
sudo pacman -S htopDebian/Ubuntu:
sudo apt install htopFedora:
sudo dnf install htopStart htop:
# Launch htop
htop
# Or with options
htop -d 5 # 5 second delayhtop display:
- Top: CPU, memory, swap usage
- Middle: Process list
- Bottom: Function keys
Color coding:
- Blue: Low priority
- Green: Normal priority
- Yellow: High priority
- Red: Very high priority
Keyboard shortcuts:
- Arrow keys: Navigate
- F9: Kill process
- F5: Tree view
- F6: Sort by
- Space: Tag process
- Q: Quit
Manage processes:
- Select process
- F9: Kill menu
- Choose signal
- Confirm
Process tree:
- F5: Toggle tree view
- See process hierarchy
- Navigate tree
Sort processes:
- F6: Sort menu
- Select sort option
- CPU, Memory, Time, etc.
Check installation:
# Check htop
which htop
# Install if missing
sudo pacman -S htopFix display:
# Reset terminal
reset
# Or use different terminalThis guide covered htop installation, interface, and usage for Arch Linux, CachyOS, and other distributions.
- System Monitoring - System monitoring
- Process Management - Process management
- htop: https://htop.dev/
This guide covers Arch Linux, CachyOS, and other Linux distributions. For distribution-specific details, refer to your distribution's documentation.