Files
coder/docs/reference/cli/stat/index.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: "`coder 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 |
|--------------------------------|----------------------------------|
| [<code>cpu</code>](./cpu.md) | Show CPU usage, in cores. |
| [<code>mem</code>](./mem.md) | Show memory usage, in gigabytes. |
| [<code>disk</code>](./disk.md) | Show disk usage, in gigabytes. |
2023-06-20 10:16:57 +01:00
## Options
### -c, --column
| Property | Value |
|----------|----------------------------------------------------------------------------------|
| 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
| Property | Value |
|----------|--------------------------|
| 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.