5c03b92807
- Rewrite configuration.md from the real CLI/env surface (the page documented ~10 agent flags, /etc/default/socktop-agent, and env vars that don't exist) - Fix token docs: SOCKTOP_TOKEN env + URL query param; client -t is --tls-ca, not a token flag - Rewrite agent-integration.md: requests are plain text (get_metrics, ...), not JSON; correct proto schema, real GPU/metrics fields, 1.60 additive fields (sampled_at_ms, timestamp_us, journal notice) - Fix connector.md: real ConnectorConfig builder API, error variants, examples list; bump to 1.60 - Document the 1.60 process kill feature (usage/general + keyboard-mouse) - TLS: document exact-match pinning semantics, cert rotation, key perms, upgrade-clients-first note; genericize profile example - Agent service: journal access setup (systemd-journal group), packaged- service cert path, drop fake positional-port form, fix broken fences - New pages: Platform Notes (Windows/macOS/RISC-V/Pi kernel tip, ARMv7 --no-default-features) and Known Issues - Fedora build prereqs: libdrm-devel + libdrm-amdgpu (closes socktop#35) - Freshen intro (1.60, new demo apng, correct crates.io names, GitHub Releases link), quick-start, upgrading (order notes, stale-binary tip), zellij (remove invalid pane_template example) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1.0 KiB
1.0 KiB
Monitor Multiple Hosts with Zellij
Use Zellij to monitor multiple socktop instances in a single terminal.
Installation
cargo install zellij
Example Layout
Create socktop-layout.kdl:
layout {
pane split_direction="vertical" {
pane command="socktop" {
args "-P" "rpi-master"
}
pane command="socktop" {
args "-P" "rpi-worker-1"
}
}
pane split_direction="vertical" {
pane command="socktop" {
args "-P" "rpi-worker-2"
}
pane command="socktop" {
args "-P" "rpi-worker-3"
}
}
}
Run it:
zellij --layout socktop-layout.kdl
Saved Layouts
Layouts placed in ~/.config/zellij/layouts/ can be launched by name:
cp socktop-layout.kdl ~/.config/zellij/layouts/socktop-monitoring.kdl
zellij --layout socktop-monitoring
The pane commands reference connection profiles by name (-P rpi-master), so create the profiles first.
More Info
For detailed Zellij documentation, see Zellij.