expanso-cli node resources
expanso-cli node resources
Show recent resource usage (CPU/memory/disk) for a node
Synopsis
Show the retained window of a node's resource usage -- CPU, memory, and disk -- as reported by heartbeats and served from the orchestrator's in-memory store. With --follow it tails the node's live resource samples until interrupted.
expanso-cli node resources NODE_ID [flags]
Examples
# Recent resource usage for a node
expanso-cli node resources node-123
# Live tail
expanso-cli node resources node-123 --follow
# JSON output
expanso-cli node resources node-123 --format json
Options
--follow Stream live samples until interrupted (Ctrl-C)
-f, --format {table|json|yaml|csv} Output format (default table)
-h, --help help for resources
--no-header Hide table headers (table format only)
--no-style Disable colors and styling
-w, --wide Show full values without truncation (table format only)
Options inherited from parent commands
--api-key string API key for authentication (e.g., exp_ak_...). Env: EXPANSO_CLI_AUTH_API_KEY (preferred; flag values show in ps output)
-e, --endpoint string API endpoint URL
-k, --insecure Skip TLS certificate verification
-p, --profile string Profile to use for configuration
--timeout string Request timeout duration
-v, --verbose Enable verbose logging
SEE ALSO
- expanso-cli node - Manage nodes