Files
coder/docs/reference/cli/ping.md
Danny Kopping 4c438bd4d3 feat(cli): add local and UTC time options to ping cmd (#16648)
It's sometimes useful to see when each pong was received, for
correlating these times with other events.

---------

Signed-off-by: Danny Kopping <danny@coder.com>
2025-02-24 05:38:17 +00:00

1.0 KiB
Generated

ping

Ping a workspace

Usage

coder ping [flags] <workspace>

Options

--wait

Type duration
Default 1s

Specifies how long to wait between pings.

-t, --timeout

Type duration
Default 5s

Specifies how long to wait for a ping to complete.

-n, --num

Type int

Specifies the number of pings to perform. By default, pings will continue until interrupted.

--time

Type bool

Show the response time of each pong in local time.

--utc

Type bool

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