--- # Code generated by make gen. DO NOT EDIT. title: "`coder ping`" description: Ping a workspace. --- Ping a workspace ## Usage ```console coder ping [flags] ``` ## Options ### --wait | Property | Value | |----------|-----------------------| | Type | duration | | Default | 1s | Specifies how long to wait between pings. ### -t, --timeout | Property | Value | |----------|-----------------------| | Type | duration | | Default | 5s | Specifies how long to wait for a ping to complete. ### -n, --num | Property | Value | |----------|------------------| | Type | int | Specifies the number of pings to perform. By default, pings will continue until interrupted. Required with --output json. ### --time | Property | Value | |----------|-------------------| | Type | bool | Show the response time of each pong in local time. ### --utc | Property | Value | |----------|-------------------| | Type | bool | Show the response time of each pong in UTC (implies --time). ### -c, --column | Property | Value | |----------|----------------------------------------------------------------------| | Type | [workspace\|total\|successful\|min\|avg\|max\|variance] | | Default | workspace,total,successful,min,avg,max,variance | Columns to display in table output. ### -o, --output | Property | Value | |----------|--------------------------| | Type | table\|json | | Default | table | Output format.