LinuxCommandLibrary

btop

Terminal-based resource monitor with GPU support

TLDR

Start resource monitor
$ btop
copy

SYNOPSIS

btop [options]

DESCRIPTION

btop++ (btop) is a resource monitor written in C++ showing CPU, memory, disks, network, and processes with a visually polished terminal UI. It's the successor to bashtop and bpytop, offering better performance and more features.
The tool provides comprehensive system monitoring with GPU support, mouse interaction, and extensive customization.

PARAMETERS

-p, --preset 0-9

Start with a preset layout
-u, --update ms
Set initial update rate in milliseconds
-f, --filter filter
Set initial process filter
-t, --tty
Force tty mode
-l, --low-color
256 colors only (no true color)
-c, --config file
Path to config file
-d, --debug
Debug mode
-V, --version
Show version
-h, --help
Show help

CONFIGURATION

~/.config/btop/btop.conf

Main configuration file for settings like update interval, theme, and layout.
~/.config/btop/themes/
Directory for custom color themes.

FEATURES

- CPU usage per core with graphs
- Memory and swap monitoring
- Disk I/O and usage
- Network bandwidth
- Process management
- GPU monitoring (NVIDIA, AMD)
- Mouse support
- Vim-like keybindings
- Customizable themes
- Process filtering and tree view
- Battery monitoring

KEYBINDINGS

- q - Quit
- ESC/m - Menu
- f - Filter processes
- t - Tree view
- k - Kill process
- +/- - Adjust update interval
- Arrow keys - Navigate
- Mouse - Click to interact

INTERFACE BOXES

CPU

Per-core usage, temperature, frequency
Memory
RAM, swap, cache with graphs
Disks
I/O activity, space usage
Network
Bandwidth by interface
Processes
Detailed sortable list

CAVEATS

Requires modern terminal with true color support. GPU monitoring needs appropriate drivers. Higher resource usage than minimal tools like top. Some features platform-specific.

HISTORY

btop++ was created by Jakob P. Liljenberg (aristocratos) in 2021 as a C++ rewrite of bpytop, providing significantly better performance and additional features.

SEE ALSO

htop(1), bpytop(1), top(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard