# speedtest

Run upload and download tests from your machine to a workspace

## Usage

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

## Options

### -d, --direct

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

Specifies whether to wait for a direct connection before testing speed.

### --direction

|         |                       |
| ------- | --------------------- |
| Type    | <code>up\|down</code> |
| Default | <code>down</code>     |

Specifies whether to run in reverse mode where the client receives and the server sends.

### -t, --time

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

Specifies the duration to monitor traffic.

### --pcap-file

|      |                     |
| ---- | ------------------- |
| Type | <code>string</code> |

Specifies a file to write a network capture to.

### -c, --column

|         |                                      |
| ------- | ------------------------------------ |
| Type    | <code>\[Interval\|Throughput]</code> |
| Default | <code>Interval,Throughput</code>     |

Columns to display in table output.

### -o, --output

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

Output format.
