# speedtest

Run upload and download tests from your machine to a workspace

## Usage [#usage]

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

## Options [#options]

### -d, --direct [#-d---direct]

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

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

### --direction [#--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 [#-t---time]

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

Specifies the duration to monitor traffic.

### --pcap-file [#--pcap-file]

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

Specifies a file to write a network capture to.

### -c, --column [#-c---column]

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

Columns to display in table output.

### -o, --output [#-o---output]

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

Output format.
