Files
coder/docs/reference/cli/stat.md
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

43 lines
1.3 KiB
Markdown
Raw Normal View History

---
# Code generated by make gen. DO NOT EDIT.
title: stat
description: Show resource usage for the current workspace.
---
2023-06-20 10:16:57 +01:00
<!-- DO NOT EDIT | GENERATED CONTENT -->
Show resource usage for the current workspace.
## Usage
```console
coder stat [flags]
```
## Subcommands
| Name | Purpose |
|-------------------------------------|----------------------------------|
2023-06-20 10:16:57 +01:00
| [<code>cpu</code>](./stat_cpu.md) | Show CPU usage, in cores. |
| [<code>mem</code>](./stat_mem.md) | Show memory usage, in gigabytes. |
| [<code>disk</code>](./stat_disk.md) | Show disk usage, in gigabytes. |
2023-06-20 10:16:57 +01:00
## Options
### -c, --column
2024-08-20 14:47:46 +10:00
| | |
|---------|----------------------------------------------------------------------------------|
2024-08-20 14:47:46 +10:00
| Type | <code>[host cpu\|host memory\|home disk\|container cpu\|container memory]</code> |
| Default | <code>host cpu,host memory,home disk,container cpu,container memory</code> |
2023-06-20 10:16:57 +01:00
2024-08-20 14:47:46 +10:00
Columns to display in table output.
2023-06-20 10:16:57 +01:00
### -o, --output
2024-08-20 14:47:46 +10:00
| | |
|---------|--------------------------|
2024-08-20 14:47:46 +10:00
| Type | <code>table\|json</code> |
| Default | <code>table</code> |
2023-06-20 10:16:57 +01:00
2024-08-20 14:47:46 +10:00
Output format.