# ping

Ping a workspace

## Usage [#usage]

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

## Options [#options]

### --wait [#--wait]

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

Specifies how long to wait between pings.

### -t, --timeout [#-t---timeout]

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

Specifies how long to wait for a ping to complete.

### -n, --num [#-n---num]

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

Specifies the number of pings to perform. By default, pings will continue until interrupted.

### --time [#--time]

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

Show the response time of each pong in local time.

### --utc [#--utc]

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

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