Skip to content

mooncake fleet ps

List in-flight (or recent) runs across fleet peers

Description

Read-only fan-out across all selected peers. Default shows running runs; --all also shows recently terminal ones. Pair with jq via --json for scripting.

Flags

Flag Type Default Description
--peer []string - Select peers: repeat to UNION. Each value is a name (main_pc), key=value filter (tag=production), or @k=v,k2=v2 AND-group. Default (no --peer): every peer in peers.toml.
--peers-file string - Override the peers.toml path
--parallel int 0 Max peers in flight (0 = unbounded)
--timeout duration 3s Per-peer probe timeout
--status string - Comma-separated statuses: running,queued,success,failed,interrupted (default: running unless --all)
--all bool false Show recently-completed runs too (no status filter; per-peer limit applies)
--limit int 5 Per-peer record cap (active only with --all or non-running --status)
--sort string peer Sort order: peer (group by peer, default)
--short bool false Truncate RUN_ID column to the last 10 chars
--no-color bool false Disable ANSI colors
--json bool false Emit one JSONL record per run instead of a table