Skip to content

dstack ps

This command shows the status of runs.

Usage

$ dstack ps --help
Usage: dstack ps [-h] [--project NAME] [-a] [-v] [-w] [-n LAST]
                 [--format {plain,json}] [--json]

Options:
  -h, --help            Show this help message and exit
  --project NAME        The name of the project. Defaults to $DSTACK_PROJECT
  -a, --all             Show all runs. By default, it only shows unfinished
                        runs or the last finished.
  -v, --verbose         Show more information about runs
  -w, --watch           Watch statuses of runs in realtime
  -n, --last LAST       Show only the last N runs. Implies --all
  --format {plain,json}
                        Output format (default: plain)
  --json                Output in JSON format (equivalent to --format json)