Ping command examples

#(sends a ping every 200ms)
ping -i0.2 <HOSTNAME>

#(sends a ping every 50ms, 1000 times)
sudo ping -i0.05 <HOSTNAME> -c 1000

#(flood ping, adds a dot for every sent packet, and removes one for every received packet) - careful with flood ping without interval, it will send packets as fast as possible, which within the same zone is very fast.
sudo ping -f -i0.05 <HOSTNAME>

#(send larger packets, does it get slower?)
sudo ping -i0.05 <HOSTNAME> -c 100 -s 1400

Viet Luu has written 143 articles

Leave a Reply