Forrest logo
back to the psping tool

psping:tldr:b4c57

psping: Ping the target over TCP 50 times and produce a histogram of the results.
$ psping ${hostname}:${port} -q -n ${50} -h
try on your machine

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.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the psping tool