![Forrest logo](/images/logo.png)
psping:tldr:b4c57
The command psping ${hostname}:${port} -q -n ${50} -h
is a command-line instruction that utilizes the "psping" tool.
Explanation of the command options:
-
${hostname}:${port}
: This refers to the hostname and port number of the target server or device you want to measure network latency or test connectivity with. You need to replace${hostname}
with the actual hostname or IP address, and${port}
with the desired port number. -
-q
: This option makes the tool run in quiet mode, meaning it will only display the summary statistics once the test is finished. -
-n ${50}
: Specifies the number of pings (or network probes) to be sent. In this case, it is set to 50, meaning the test will send 50 pings to the target server or device. -
-h
: This option asks the tool to include the timestamp (in human-readable format) in the output summary.
Overall, this command will use the "psping" tool to send 50 network probes (pings) to a specified hostname and port, while displaying only the summary statistics at the end, including the timestamp.