usage: ping host [timeout]
usage: ping -s [-l | U] [adLnRrv] [-A addr_family] [-c traffic_class]
[-g gateway [-g gateway ...]] [-F flow_label] [-I interval]
[-i interface] [-P tos] [-p port] [-t ttl] host [data_size] [npackets]
-s : Send one datagram per second and collect statistics.
Put a Continuous ping:
# ping -s 50.17.0.1
PING 50.17.0.1 (50.17.0.1): 56 data bytes
64 bytes from 50.17.0.1: icmp_seq=0. time=1.22 ms
64 bytes from 50.17.0.1: icmp_seq=1. time=26.5 ms
64 bytes from 50.17.0.1: icmp_seq=2. time=8.13 ms
64 bytes from 50.17.0.1: icmp_seq=3. time=64.1 ms
64 bytes from 50.17.0.1: icmp_seq=4. time=30.7 ms
64 bytes from 50.17.0.1: icmp_seq=5. time=33.9 ms
64 bytes from 50.17.0.1: icmp_seq=6. time=1.03 ms
64 bytes from 50.17.0.1: icmp_seq=7. time=1.14 ms
.
.
.
.
.
64 bytes from 50.17.0.1: icmp_seq=26. time=1.27 ms
64 bytes from 50.17.0.1: icmp_seq=27. time=0.994 ms
^C
----50.17.0.1 PING Statistics----
28 packets transmitted, 28 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 0.989/19.27/64.1/18.9
Put a Continuous ping with specific data size :
# ping -s 50.17.0.1 200
PING 50.17.0.1: 200 data bytes
208 bytes from 50.17.0.1: icmp_seq=0. time=1.35 ms
208 bytes from 50.17.0.1: icmp_seq=1. time=27.1 ms
208 bytes from 50.17.0.1: icmp_seq=2. time=22.1 ms
^C
----50.17.0.1 PING Statistics----
3 packets transmitted, 3 packets received, 0% packet loss
round-trip (ms) min/avg/max/stddev = 1.35/16.9/27.1/14.
0 comments:
Post a Comment