fping

fping can be used to ping multiple IP and get report.

root@backup:~# fping -s -r 1 158.69.109.222 158.69.109.67 158.69.109.179 158.69.185.224
158.69.109.222 is alive
158.69.109.67 is alive
158.69.109.179 is alive
158.69.185.224 is alive

       4 targets
       4 alive
       0 unreachable
       0 unknown addresses

       0 timeouts (waiting for response)
       4 ICMP Echos sent
       4 ICMP Echo Replies received
       0 other ICMP received

 0.45 ms (min round trip time)
 0.54 ms (avg round trip time)
 0.62 ms (max round trip time)
        0.076 sec (elapsed real time)

root@backup:~# 

If you just want to show if hosts are up or not

root@hon-vpn:~# fping 158.69.56.236 192.99.182.223 192.99.182.192 192.99.182.193 192.99.182.238 158.69.101.41 158.69.101.58
158.69.56.236 is alive
192.99.182.223 is alive
192.99.182.192 is alive
192.99.182.193 is alive
192.99.182.238 is alive
158.69.101.41 is alive
158.69.101.58 is alive
root@hon-vpn:~# 

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *