ping
From Initq
Contents |
ping flood
Only root can use the -f flag.
# ping -f jump221 PING jump221 (161.89.145.221) 56(84) bytes of data. .^C --- jump221 ping statistics --- 1507 packets transmitted, 1506 received, 0% packet loss, time 23438ms rtt min/avg/max/mdev = 17.587/21.271/46.510/2.949 ms, pipe 4, ipg/ewma 15.563/20.038 ms
1% or 2% packet loss is tolerable but not anymore. If you have more then you have network issues.
-I switch
Use the -I flag to use a specific interface.
-n flag
Numeric output only. No attempt will be made to lookup symbolic names for host addresses.
--c flag count
a507394@aowarll271:~$ ping -c 3 jump221 PING jump221 (161.89.145.221) 56(84) bytes of data. 64 bytes from jump221 (161.89.145.221): icmp_req=1 ttl=58 time=25.1 ms 64 bytes from jump221 (161.89.145.221): icmp_req=2 ttl=58 time=19.1 ms 64 bytes from jump221 (161.89.145.221): icmp_req=3 ttl=58 time=22.0 ms --- jump221 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2002ms rtt min/avg/max/mdev = 19.138/22.110/25.135/2.451 ms
-D date
Unix date the ping results.
-t ttl
Set the IP Time to Live.
-s packetsize
Specifies the number of data bytes to be sent. The default is 56, which translates into 64 ICMP data bytes when combined with the 8 bytes of ICMP header data.