---
# Code generated by make gen. DO NOT EDIT.
title: "`coder stat mem`"
description: "Show memory usage, in gigabytes."
---
Show memory usage, in gigabytes.
## Usage
```console
coder stat mem [flags]
```
## Options
### --host
| Property | Value |
|----------|-------------------|
| Type | bool |
Force host memory measurement.
### --prefix
| Property | Value |
|----------|-----------------------------|
| Type | Ki\|Mi\|Gi\|Ti |
| Default | Gi |
SI Prefix for memory measurement.
### -o, --output
| Property | Value |
|----------|-------------------------|
| Type | text\|json |
| Default | text |
Output format.