Skip to main content

Module panes

Module panes 

Source
Expand description

Each pane’s CPU and memory for its stats badge, taken from Tower’s sample (backend::tower::sampler), so the badge and Tower count the same processes the same way: a pane’s Job Object or cgroup, which nothing it starts can leave, else its shell’s process tree. A Tower pane open at the same time shares the process snapshot (Tower reuses one taken within the last second). The badge’s tooltip (blockstats.detail) reads the same task from tower_snapshot, so it lists the processes the badge counts. docs/reports/REPORT_SYSINFO_REWRITE_AND_MODERN_MONITOR_2026_10_13.md section 5.5.

Structs§

PaneStat
What one pane’s badge shows.

Functions§

from_snapshot
The panes’ stats in a Tower snapshot: one per pane task, AgentMux’s own task left out.
tower_sampler
The live sampler: Tower’s sample of this machine, with each pane named by labels (a pane labels doesn’t know, such as one that was closed, is left out).
tower_snapshot
Tower’s sample of this machine’s panes, each named by labels. Blocking: reads the process table, unless Tower read it within the last 900 ms.

Type Aliases§

PaneSampler
Measures every pane’s stats. Blocking: reads the process table.