# coder ping

Ping a workspace

## Usage

```console
coder ping [flags] <workspace>
```

## Options

### --wait

| Property | Value                 |
| -------- | --------------------- |
| Type     | <code>duration</code> |
| Default  | <code>1s</code>       |

Specifies how long to wait between pings.

### -t, --timeout

| Property | Value                 |
| -------- | --------------------- |
| Type     | <code>duration</code> |
| Default  | <code>5s</code>       |

Specifies how long to wait for a ping to complete.

### -n, --num

| Property | Value            |
| -------- | ---------------- |
| Type     | <code>int</code> |

Specifies the number of pings to perform. By default, pings will continue until interrupted. Required with --output json.

### --time

| Property | Value             |
| -------- | ----------------- |
| Type     | <code>bool</code> |

Show the response time of each pong in local time.

### --utc

| Property | Value             |
| -------- | ----------------- |
| Type     | <code>bool</code> |

Show the response time of each pong in UTC (implies --time).

### -c, --column

| Property | Value                                                                 |
| -------- | --------------------------------------------------------------------- |
| Type     | <code>\[workspace\|total\|successful\|min\|avg\|max\|variance]</code> |
| Default  | <code>workspace,total,successful,min,avg,max,variance</code>          |

Columns to display in table output.

### -o, --output

| Property | Value                    |
| -------- | ------------------------ |
| Type     | <code>table\|json</code> |
| Default  | <code>table</code>       |

Output format.
