Ping
[Email protected]/]#PingWww.baidu.comPING www.a.shifen.com (61.135.169.121) About( -) bytes of data. -Bytes from61.135.169.121: icmp_seq=1Ttl= - Time=71.7Ms -Bytes from61.135.169.121: icmp_seq=2Ttl= - Time=72.1Ms -Bytes from61.135.169.121: icmp_seq=3Ttl= - Time=133Ms -Bytes from61.135.169.121: icmp_seq=4Ttl= - Time=119Ms^C---www.a.shifen.comPingStatistics---4Packets Transmitted,4Received0% packet loss, Time3676msrtt min/avg/max/mdev =71.735/99.181/133.310/27.659Ms
Unlike the Windows environment, the Linux environment, if you do not press CTRL + C, will continue to ping. Windows Ping only sends 4 packets to be finished.
TTL time to live, each router ttl minus one, TTL is 0 o'clock stop forwarding. This prevents packets from being forwarded indefinitely on the network.
RTT represents round-trip time
Mdev represents the average deviation of the Mean Deviation, indicating the degree to which the RTT of these ICMP packets deviates from the average, and the greater the value, the more unstable your network speed is.
-c specifies that several packets are sent
[Email protected]/]#Ping 8.8.8.8-c4ping8.8.8.8(8.8.8.8) About( -) bytes of data. -Bytes from8.8.8.8: icmp_seq=1Ttl= - Time=73.9Ms -Bytes from8.8.8.8: icmp_seq=2Ttl= - Time=82.1Ms -Bytes from8.8.8.8: icmp_seq=3Ttl= - Time=119Ms -Bytes from8.8.8.8: icmp_seq=4Ttl= - Time=137Ms---8.8.8.8 PingStatistics---4Packets Transmitted,4Received0% packet loss, Time3146msrtt min/avg/max/mdev =73.913/103.372/137.647/26.263Ms
-W Specifies to wait a few seconds for a ping packet to be sent
-W ping command execution time
-t Specifies the packet TTL
Linux Network Pipeline--network-related command ping,