coder/docs/cli/stat.md

1.2 KiB

stat

Show resource usage for the current workspace.

Usage

coder stat [flags]

Subcommands

Name Purpose
cpu Show CPU usage, in cores.
mem Show memory usage, in gigabytes.
disk Show disk usage, in gigabytes.

Options

-c, --column

Type string-array
Default host_cpu,host_memory,home_disk,container_cpu,container_memory

Columns to display in table output. Available columns: host cpu, host memory, home disk, container cpu, container memory.

-o, --output

Type string
Default table

Output format. Available formats: table, json.