btop — Beautiful Resource Monitor for Linux, macOS, Windows
btop is a resource monitor that shows usage and stats for CPU, memory, disks, network, and processes. Beautiful TUI with mouse support, gradients, themes, and low memory footprint. The modern successor to htop and bashtop.
What it is
btop is a terminal-based resource monitor written in C++ that displays real-time usage and statistics for CPU, memory, disks, network, and processes. It features a polished TUI with mouse support, gradient visualizations, configurable themes, and a low memory footprint. btop is the modern successor to bashtop and bpytop.
Sysadmins, developers, and anyone who monitors system performance in a terminal will find btop more readable and feature-rich than top or htop while remaining lightweight.
How it saves time or tokens
btop replaces multiple monitoring commands (top, iotop, nethogs, df) with a single dashboard. The mouse-driven interface lets you sort, filter, and signal processes without memorizing keyboard shortcuts. Themes and layout presets mean you spend zero time configuring the display.
How to use
- Install btop:
brew install btop # macOS
sudo apt install btop # Ubuntu/Debian
sudo dnf install btop # Fedora
- Launch:
btop
- Use mouse or keyboard to navigate. Press
mto cycle through memory display modes,nfor network, andEscto open the menu.
Example
# Launch with a specific theme
btop --theme gruvbox_dark
# Launch with update interval of 500ms
btop -t 500
# Show only specific disks
btop --disk-filter sda
Related on TokRepo
- AI tools for automation — Automation and monitoring tools
- Featured workflows — Browse curated developer tools and workflows
Common pitfalls
- Running btop over SSH with a narrow terminal width causes layout breakage. Use at least 80 columns wide for a usable display.
- On older Linux kernels (pre-4.18), some per-process IO stats may be missing because btop reads from procfs entries that require newer kernels.
- Confusing btop with bpytop (Python) or bashtop (bash). btop is the C++ rewrite and the actively maintained version.
Frequently Asked Questions
btop provides a richer visual display with gradient graphs for CPU, memory, and network. It also includes disk IO monitoring and mouse support out of the box. htop is lighter and more established, but btop offers a more informative at-a-glance dashboard.
Yes. Install with 'brew install btop'. btop supports macOS with full CPU, memory, disk, and network monitoring. Some Linux-specific features like per-process IO may have limited data on macOS due to platform differences.
Yes. btop ships with multiple built-in themes (default, gruvbox, dracula, nord, etc.) and supports custom themes. Theme files are plain text stored in ~/.config/btop/themes/. You can also change themes at runtime from the options menu.
btop supports NVIDIA GPU monitoring on Linux when nvidia-smi is available. AMD GPU monitoring support varies by platform and driver. GPU stats include utilization, temperature, memory usage, and clock speeds.
bashtop was the original bash implementation. bpytop was a Python rewrite for better performance. btop is the current C++ rewrite that is actively maintained and has the best performance and feature set of the three. The author recommends using btop.
Citations (3)
- btop GitHub— btop is the C++ successor to bashtop and bpytop
- btop README— Supports mouse interaction, themes, and gradient visualizations
- btop Installation— Available via brew, apt, dnf and other package managers
Related on TokRepo
Discussion
Related Assets
NAPI-RS — Build Node.js Native Addons in Rust
Write high-performance Node.js native modules in Rust with automatic TypeScript type generation and cross-platform prebuilt binaries.
Mamba — Fast Cross-Platform Package Manager
A drop-in conda replacement written in C++ that resolves environments in seconds instead of minutes.
Plasmo — The Browser Extension Framework
Build, test, and publish browser extensions for Chrome, Firefox, and Edge using React or Vue with hot-reload and automatic manifest generation.