Skip to main content

Module blockstats

Module blockstats 

Source
Expand description

blockstats.detail: a terminal’s stats badge and its tooltip (backend::blockstats_detail). The window’s, not an agent API: a connection registered as an agent is refused.

  • A local pane: its processes here, from one snapshot.
  • A remote pane (SSH, WSL): its processes on that machine, asked of AgentMux’s helper there, and the machine’s name and address.

Constants§

REMOTE_TIMEOUT 🔒
How long asking a remote pane’s helper may take before the badge reads “not measured” for this round.

Functions§

connection 🔒
A remote pane’s machine; None for a local pane.
register
remote 🔒
A remote pane’s processes on its machine. WSL: the helper Tower runs in the distribution. SSH: the host’s helper, only over a connection that needs no prompt and no install (files::connect_quiet): this is asked every few seconds, never on the user’s word.