Writing criteria for this guide
Every "for Mere Mortals" guide is written to the same nine-point standard, so a reader who trusts one can trust the rest. Here it is, with the verification notes for this particular guide below.
- Fix it first. Reader outcomes lead, not action items: each chapter opens by naming the outcome it delivers, shows a check the reader can run to confirm they got it, and a reasonable reader finishes able to state what was done, what it means, and what to try next.
- Plain language. Short sentences, everyday vocabulary, technical terms defined on first use. No slang, and no idioms that only make sense in one country — the reader may be translating as they go.
- No dead ends. A guide never tells the reader to do something it cannot show them how to verify. Every claim a reader relies on — an install, a command, an output — is something this guide demonstrates or clearly labels documented-only below.
- Live-verified where it matters. Procedures are run for real in the guide's lab wherever the build machine allows it, and the transcripts kept in the repository are the evidence. What could not be run is listed honestly below, never presented as if it had been.
- General audiences. Nothing in this guide — examples, fixtures, names, addresses — is modelled on any particular reader or author's real life, network, or organisations. The lab's processes are the lab's own test programs.
- Standalone. A reader needs this guide, its lab, and nothing else. Where another guide would genuinely help, it is pointed to once, by name, and the chapter still completes without it.
- Honest about limits. Chapter 10 names what the tool cannot do: it keeps no history, it sees one machine, the graphics box depends on the build, containers hide their disks, and its numbers are views rather than records.
- Care is in the text, early. Chapter 5 states the discipline of signalling processes — terminate before kill, read the confirmation's PID line, signal only what you may — before any procedure depends on it, and the lab's near-miss there is reported, not tidied away.
- Builds clean. The site builds with MkDocs in strict mode with no warnings, and a fresh reader following the chapters in order reaches the stated outcome of each.
Verification notes for this guide
The build machine is a 2-CPU, 7.7 GB Ubuntu 24.04 sandbox (a
container; systemd-nspawn in btop's own header names it).
btop 1.4.8 — the official static release binary from the
project's GitHub releases (btop-x86_64-unknown-linux-musl),
run from a scratch folder, never installed system-wide — was
driven for real inside a tmux session 176 columns wide, and
every screen quoted in the guide is a verbatim capture of
that session, trimmed at the edges only. An Ubuntu package
of btop 1.3.0 was also downloaded to prove the package route
exists, but the guide's screens are all 1.4.8.
The lab's cast was its own: press-worker (a copy of yes,
burning one core), orchard-worker (a copy of sleep,
fifteen minutes of nothing), and a Python program holding a
200 MB block. Only those processes were ever signalled.
Run for real, with captures as evidence:
--version(1.4.8+87bb161,STATIC=true,GPU_SUPPORT=false) and--help.- The full four-box screen under a known load: CPU summary 78% with cores at 90%/67%, load average 2.23/0.97/0.59, memory 6.79 GiB used of 7.74 GiB, live network rates in both directions.
- Sorting by processor (lazy and direct) and by memory (the 200 MB tenant reading 205M), and reversal available throughout.
- Filtering by name:
orchardreduced the list to the one sleeper; the filter headers (f orchard ↵, thenf orchard del) and Delete clearing it were captured. - Tree view: parent/child chains read off the screen.
- Process detail (Enter): the panel's full command line and its memory percentage (5.28%) read from the capture.
- Menu, Options (all general-tab settings quoted from the capture), and both Help pages' first page.
- A theme change in Options (Default → TTY) applied live —
and later proven saved, as
color_theme = "TTY"in a config written by a clean exit. - Terminate end to end:
t, the confirmation popup naming "Send signal: 15 (SIGTERM)" and "To PID: 68456 (press-worker)", Yes, the row gone at the next refresh, andps -p 68456answering with only its header. - The same popup, earlier, naming the wrong target — PID 68654, another workload's compiler — because the live list re-sorted under the selection. Cancelled with Escape; no signal was sent; the retry used a filter. Chapter 5 is built on this.
- Presets:
-p 1at launch (process list dominant, CPU a strip),pcycling to preset 3 (CPU in block symbols, network box, no memory or process box), and the presets definition line read out of the config file. - The config file itself: absent until btop created it,
written on clean exits, read back after each sitting —
color_theme,shown_boxes,update_ms,proc_sorting,proc_treeall quoted from the file. - A hand edit proven on relaunch:
proc_tree = false→true(via sed, the line printed back), and the next launch opened in tree view with no key pressed. - The preset trap: quitting under preset 3 wrote
shown_boxes = "cpu net"; the next launch opened without memory and process boxes until restored by their number keys.
Documented only — described from the project's documentation, not run, and the text does not claim otherwise:
- The GPU box: this release build states
GPU_SUPPORT=falseand the lab machine has no GPU. Its keys and contents are as documented; no screen in this guide shows one. - The disks panel's entries on a real machine: the lab is a
container whose mounts are an overlay filesystem and
tmpfs, and the panel was empty in every capture, with
show_disks = trueand no filter set. The guide teaches the panel's meaning and the container explanation from that observation, not from a populated example. - The mouse: help text and the drawn buttons establish it; the lab drove btop by keyboard so that every action could be scripted and checked.
- The Nice button and the full signals list beyond SIGTERM and SIGKILL: named from the footer and help; only TERM was exercised, on the lab's own process.
- Package-manager installs on distributions other than Ubuntu, and Homebrew on macOS: the commands are the distributions' own; only the release-binary route and the Ubuntu package's existence were verified here.
Fixtures are this guide's own and deliberately generic: three tiny test processes with plain names, one invented load, one invented memory block. No example is modelled on any real person, service or organisation, and the only processes ever signalled were started by the lab for the purpose.