Have you ever needed to ping a group of hosts because you are rebooting them at once and waiting for them to boot back online? Or have you ever tried to debug if a packet loss is limited only to certain destinations by pinging a dozen of different hosts from the same location?
Whatever the reason to ping multiple hosts at once, you can use “ping-multi” to view all results at once in a text console. It reads hosts from a file and sends ICMP ECHO_REQUEST to them. This is the same as the standard “ping“, only executed in parallel for many hosts.
You can also access in real-time the following statistics: Last round-trip-time (RTT), Packet loss %, Average RTT, Minimum RTT, Maximum RTT, Standard deviation of the RTT, Received and Transmitted packets count.
The ping history can be displayed either in a simple view showing received (.) and lost (X) reply packets, or as a scaled view which visualizes the RTT value using the numbers between 0 and 9.
Screenshot 1:
Screenshot 2:
“Ping-multi” is available as a free open-source project at: https://github.com/famzah/ping-multi
October 4, 2017 at 7:18 am
This doesn’t seem to work anymore. Either with the sample.list or a single IP.
Perl exited with active threads:JSON text must be an object or array (but found number, string, true, false or null, use allow0 running and unjoined at ./ping-multi line 72.
1 finished and unjoined
0 running and detached
October 4, 2017 at 9:33 am
Hi Laurent,
I’d appreciate it if you open an issue at GitHub where we can track this more easily: https://github.com/famzah/ping-multi/issues
Please provide the Perl version that you’re using, OS version, and the exact command-line that you’re executing. Thank you.