---
title: "pols stats"
description: "Show the CPU, memory and disk use of a sandbox, or of all running sandboxes"
---

<!-- Generated by scripts/reference.mjs from the pols CLI's --help. Do not edit; run `npm run reference:sync`. -->

Show what running sandboxes use: CPU (share of the sandbox's vCPUs), memory
and root disk. Running sandboxes are sampled at a fixed interval (30 seconds
by default) and the last hour of samples is kept.

Without SANDBOX, prints the org's totals and each running sandbox.

## Usage

```text
pols stats [SANDBOX] [flags]
```

## Examples

```sh
pols stats
pols stats web
pols stats web --history --json
```

## Flags

```text
-h, --help      help for stats
    --history   also print the samples of the last hour
```

The [global flags](/reference/cli/#global-flags) work with this command too.
