Skip to content

mooncake metrics

Display live system metrics (CPU/GPU/memory/load/network)

Flags

Flag Type Default Description
--format / -f string text Output format: text or json
--query / -q []string - Query a specific metric by key (e.g. cpu_usage_pct). Repeatable.
--fields []string - Restrict output to these keys. Repeatable or comma-separated. Adds a _collected_at sibling map.
--refresh bool false Force re-sample, bypassing TTL
--output / -o string - Save metrics to file (JSON)