CH·02CLI reference

gpu jobs gpu-metrics

Show utilization, memory, power, and temperature of the GPU a job ran on

Show utilization, memory, power, and temperature of the GPU a job ran on

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.

The window is the job's run, from its first start to its end (or now).

gpu jobs gpu-metrics <job-id> [flags]

Examples

  gpu jobs gpu-metrics job_123
  gpu jobs gpu-metrics job_123 --range 15m -o json

Options

  -h, --help           help for gpu-metrics
      --range string   Only the newest part of the run, such as 15m, 1h, or 7d

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 jobs - Run batch jobs on GPUs
  • GPU Observability - how the metrics are collected and how to chart them in Grafana

← The gpu CLI