Skip to content

Need help?

Reach out to us on Discord

Discord

dstack metrics

This command shows run hardware metrics such as CPU, memory, and GPU utilization.

Usage

$ dstack metrics --help
Usage: dstack metrics [-h] [--project NAME] [-w] [--replica REPLICA]
                      [--job JOB]
                      run_name

Positional Arguments:
  run_name

Options:
  -h, --help         Show this help message and exit
  --project NAME     The name of the project. Defaults to $DSTACK_PROJECT
  -w, --watch        Watch run metrics in realtime
  --replica REPLICA  The replica number. Defaults to 0.
  --job JOB          The job number inside the replica. Defaults to 0.