mirror of
https://github.com/coder/coder.git
synced 2025-07-06 15:41:45 +00:00
41 lines
735 B
Markdown
Generated
41 lines
735 B
Markdown
Generated
<!-- DO NOT EDIT | GENERATED CONTENT -->
|
|
|
|
# ping
|
|
|
|
Ping a workspace
|
|
|
|
## Usage
|
|
|
|
```console
|
|
coder ping [flags] <workspace>
|
|
```
|
|
|
|
## Options
|
|
|
|
### --wait
|
|
|
|
| | |
|
|
| ------- | --------------------- |
|
|
| Type | <code>duration</code> |
|
|
| Default | <code>1s</code> |
|
|
|
|
Specifies how long to wait between pings.
|
|
|
|
### -t, --timeout
|
|
|
|
| | |
|
|
| ------- | --------------------- |
|
|
| Type | <code>duration</code> |
|
|
| Default | <code>5s</code> |
|
|
|
|
Specifies how long to wait for a ping to complete.
|
|
|
|
### -n, --num
|
|
|
|
| | |
|
|
| ------- | ---------------- |
|
|
| Type | <code>int</code> |
|
|
| Default | <code>10</code> |
|
|
|
|
Specifies the number of pings to perform.
|