Skip to content
Skip to Content
Coder Docs

coder ping

Ping a workspace.

On this page

Ping a workspace

Usage

Usage
coder ping [flags] <workspace>

Options

Options

--wait

--wait
PropertyValue
Typeduration
Default1s

Specifies how long to wait between pings.

-t, --timeout

-t, --timeout
PropertyValue
Typeduration
Default5s

Specifies how long to wait for a ping to complete.

-n, --num

-n, --num
PropertyValue
Typeint

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

--time

--time
PropertyValue
Typebool

Show the response time of each pong in local time.

--utc

--utc
PropertyValue
Typebool

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

-c, --column

-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

-o, --output
PropertyValue
Typetable|json
Defaulttable

Output format.