Skip to content
Coder Docs

coder ping

Ping a workspace.

On this page

Ping a workspace

Usage

coder ping [flags] <workspace>

Options

--wait

PropertyValue
Typeduration
Default1s

Specifies how long to wait between pings.

-t, --timeout

PropertyValue
Typeduration
Default5s

Specifies how long to wait for a ping to complete.

-n, --num

PropertyValue
Typeint

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

--time

PropertyValue
Typebool

Show the response time of each pong in local time.

--utc

PropertyValue
Typebool

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

-c, --column

PropertyValue
Type[workspace|total|successful|min|avg|max|variance]
Defaultworkspace,total,successful,min,avg,max,variance

Columns to display in table output.

-o, --output

PropertyValue
Typetable|json
Defaulttable

Output format.