Machine Resources
Live CPU, RAM, swap and disk usage of the machine a thread runs on, in the thread context card.
Overview
What you get
A Machine section in every thread's context card with the live load of the machine that thread runs on:
- A donut chart with one arc per CPU core; each arc fills with that core's busy percent, and the center shows the average across all cores.
- Progress bars for RAM, swap, and the disk holding the thread's checkout, each labeled with used and total bytes.
- A line with the titles of the threads running a turn on that machine right now, plus how many threads are open on it.
Figures refresh every two seconds while the browser tab is visible. Arcs and bars shift from green to red as load grows.
How it works
The card asks the BB server for the metrics of the thread's environment. The
server resolves the environment's host and checkout path, then calls the
plugin's host entry inside that machine's BB daemon worker. The host entry
diffs two CPU time snapshots for per-core load, reads /proc/meminfo on Linux
or vm_stat and sysctl vm.swapusage on macOS for RAM and swap, and stats
the checkout's filesystem for disk usage. The thread line comes from the
server's thread list filtered to that host.
Requirements
- BB 0.50 or newer with the thread context card experiment enabled; narrow panes show the banner context row instead of the card.
- A connected BB host daemon on the machine the thread runs on. Sampling supports Linux and macOS hosts.
More from romandots
More in Thread Content 118
Change what people see or do inside an open thread.



