magus-status
Inspect concurrency pool and configuration
Synopsis
magus status [flags]
Description
Show the magus configuration that affects this process - telemetry, cache settings - and, when a parent magus process is running, the live state of its concurrency pool (current slot usage, queued waiters).
When --watch is non-zero, status polls and reprints at that interval. On a TTY the screen is cleared between reprints; piped output appends each snapshot on its own line for log capture.
--wait prints no snapshot: it exits 0 once this machine's build budget can seat a run, and it is how a run refused with MGS3009 waits without a retry loop. Piped into a magus run (magus status --wait | magus run test .) it reads that run's command from the pipe, waits until the budget can seat the claims that run will make, and holds the run from starting until it exits; the run then proceeds as usual, or starts nothing (MGS3030) if the wait failed. On its own it waits for a free slot. A claim larger than the whole budget exits 78 at once; no broker means nothing to wait for, and it exits 0.
Options
- -W duration
- Short for --watch
- -c
- Short for --compact
- --compact
- Single-line, densely-packed snapshot for sidebar/multiplexer use (text output only)
- --probe string
- Exec-probe mode: liveness or readiness (exit 0 healthy, 1 unhealthy; ignores --watch/--compact)
- --socket string
- Proc server to report on, as a unix:// URL or bare path; default: MAGUS_PROC_SOCKET inside a run, else every live one in the socket dir. --probe asks the server at server.address unless this names one
- --symbols
- Include the expensive symbol-index freshness scan
- --wait
- Exit 0 once the build budget can seat the magus run reading this pipe (a free slot when none does); holds that run until then
- --watch duration
- Poll and reprint at this interval (minimum 15s; 0 means one-shot)
- --workspace string
- Workspace root to check for readiness with --probe=readiness (default: any loaded workspace)
Examples
One-shot status snapshot
magus status
Run tests once the build budget can seat them
magus status --wait | magus run test .
Live updates every 15 seconds
magus status --watch=15s
Single-line snapshot for a multiplexer sidebar
magus status --compact --watch=15s
Inspect a specific running parent
magus status --socket=unix:///run/user/1000/magus/server.sock
See Also
magus(1), magus-ls(1), magus-describe(1), magus-run(1), magus-x(1), magus-where(1), magus-affected(1), magus-graph(1), magus-query(1), magus-explain(1), magus-path(1), magus-refs(1), magus-watch(1), magus-events(1), magus-clean(1), magus-shell(1), magus-vcs(1), magus-queue(1), magus-doctor(1), magus-config(1), magus-session(1), magus-job(1), magus-notes(1), magus-diff(1), magus-server(1), magus-broker(1), magus-mcp(1), magus-buzz(1), magus-completion(1), magus-man(1), magus-init(1), magus-spell(1), magus-agent(1), magus-self(1), magus-version(1)