ScriptsApr 11, 2026·2 min read

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.

TL;DR
btop displays CPU, memory, disk, network, and process stats in a beautiful terminal UI with mouse support, themes, and minimal resource usage.
§01

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.

§02

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.

§03

How to use

  1. Install btop:
brew install btop                          # macOS
sudo apt install btop                       # Ubuntu/Debian
sudo dnf install btop                       # Fedora
  1. Launch:
btop
  1. Use mouse or keyboard to navigate. Press m to cycle through memory display modes, n for network, and Esc to open the menu.
§04

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
§05

Related on TokRepo

§06

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

How does btop compare to htop?+

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.

Does btop work on macOS?+

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.

Can I customize btop themes?+

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.

Does btop support GPU monitoring?+

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.

What is the difference between btop, bpytop, and bashtop?+

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

Discussion

Sign in to join the discussion.
No comments yet. Be the first to share your thoughts.

Related Assets