CH·02CLI reference
gpu clusters gpu-metrics
Show utilization, memory, power, and temperature of every GPU in a cluster
Show utilization, memory, power, and temperature of every GPU in a cluster
Synopsis
Shows utilization, memory, power, and temperature for each GPU, read by NVIDIA DCGM Exporter on the machine every 15 seconds and kept in Prometheus. The table gives the latest value, the average, and the peak over the window; -o json gives every point.
Machines are named by their Kubernetes node (node-0 is the head).
gpu clusters gpu-metrics ID_OR_NAME [flags]
Examples
gpu clusters gpu-metrics train
gpu clusters gpu-metrics train --range 24h
Options
-h, --help help for gpu-metrics
--range string How far back to look, such as 15m, 1h, 24h, or 7d (default "1h")
Options inherited from parent commands
--api-base string API base URL (override with GPUAI_API_BASE env) (default "https://api.gpu.ai/v1")
--debug Enable debug logging to stderr
-o, --output string Output format: table|json (default table on TTY, json otherwise)
SEE ALSO
- gpu clusters - GPU clusters: machines joined as one Kubernetes cluster with Ray
- GPU Observability - how the metrics are collected and how to chart them in Grafana