简体   繁体   中英

What is the most efficent way to measure true ping times?

I have a server in AWS-East-1 (N. Virginia) and I am trying to ping www.binance.com whose server is located in AWS Tokyo.

Command: ping www.binance.com

I get ping times of 0.5ms which is not true. Possibly, the ping is returning from some nearby router and theoretically even at the speed of light, the return trip should take atleast 75ms.

How do I measure the correct ping latency from my Linux terminal?

Assuming you need to make this test to check performance of application or network.......

Maybe, you can use other approach:

curl -o /dev/null -s -w '%{time_connect}\n' https://www.binance.com

It will return the time_connect so maybe it can help you in your analysis.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM