btop

From Gentoo Wiki
Jump to:navigation Jump to:search

This article is a stub. Please help out by expanding it - how to get started.

btop is a resource monitor that shows usage and stats for processor, memory, disks, network and processes. It is the third iteration of bpytop and bashtop.

Installation

Emerge

root #emerge --ask sys-process/btop

Usage

To start btop, you can run

user $btop

Invocation

user $btop --help
usage: btop [-h] [-v] [-/+t] [-p <id>] [--utf-force] [--debug]

optional arguments:
  -h, --help            show this help message and exit
  -v, --version         show version info and exit
  -lc, --low-color      disable truecolor, converts 24-bit colors to 256-color
  -t, --tty_on          force (ON) tty mode, max 16 colors and tty friendly graph symbols
  +t, --tty_off         force (OFF) tty mode
  -p, --preset <id>     start with preset, integer value between 0-9
  --utf-force           force start even if no UTF-8 locale was detected
  --debug               start in DEBUG mode: shows microsecond timer for information collect
                        and screen draw functions and sets loglevel to DEBUG

GPU monitoring

AMD GPU

For monitoring an AMD GPU using btop, you will need to install the ROCm SMI library.

user $emerge --ask dev-util/rocm-smi

Once ROCm SMI is installed, you should be able to monitor GPU usage, VRAM usage, clocks, and temperature using btop.

NVIDIA GPU

NVIDIA GPUs should work out of the box with btop. No extra configuration is required.

See also

  • htop — a cross-platform interactive process viewer. It is a text-mode application (for console or X terminals) and requires ncurses.
  • Recommended tools — lists system-administration related tools recommended for use in a shell environment (terminal/console)