Limits
btop is a good tool with defined edges, and naming them is part of teaching it. These are the edges that matter, in rough order of how likely you are to meet them.
It keeps no history. btop is a live view: its graphs carry the last minute or so, its counters the session, and closing it keeps nothing but its settings. "What was using the machine at 3 a.m. last Tuesday?" is a question for logs and recorded monitoring — the Prometheus and Grafana guide in this series covers that country — and no arrangement of btop answers it after the fact.
It sees one machine. The screen describes the machine btop runs on. Run it over SSH and it describes the machine at the far end — a feature, often — but a house with five computers is five separate btops, not one overview.
The graphics box depends on your
build and your hardware. GPU support
is compiled in or out when btop is
built: the lab's release build stated
GPU_SUPPORT=false in its version
output (chapter 2), so no GPU box
exists in any lab screen, and the lab
machine has no graphics processor in
any case. On a machine with a suitable
GPU and a build that supports it, a
fifth box shows its load and memory,
and the 5 key toggles it. This guide
describes that box from the project's
documentation only, and it is listed as
documented-only in criteria.md.
Containers hide their disks. The disks panel lists the filesystems btop can discover from the system's view of its mounts. Inside the lab's container — an overlay filesystem and temporary mounts, nothing physical — the panel stood empty throughout, with disks present in the config and no filter set. Treat an empty disks panel in a container or a VM as information about the environment, not as a btop failure; the other three boxes read container machines truthfully.
Its numbers are views, not
measurements of record. Process
percentages can be read against one
core or all cores (the per-core
switch, chapter 3), the cpu sort comes
in "lazy" (smoothed) and "direct" forms
(chapter 4), and every figure is two
seconds old at the redraw. Two btop
screens — or btop and top — can
honestly disagree, and for diagnosis
the disagreement rarely matters: you
are looking for the process out of
line, not auditing the third digit.
It shows you your authority. As an ordinary user, other people's processes are visible in outline but their details and their stopping are not yours; as root, everything is visible and everything is stoppable, which includes the processes the machine needs to remain a machine. btop does not grade the processes it lists; that judgement is the operator's, and chapter 5's confirmation popup is the one pause the tool insists on.
It is a spectator that consumes. btop itself uses a little processor and a few megabytes (the lab's process list shows its own row: 2.6M, a fraction of a percent) — trivial on a desktop, worth knowing on the smallest machines, where a two-second redraw of a heavy screen is a real, if small, load.