ping rtt

Link to this post 04 Jun 09

How can we calculate ping Round Trip Time?

Link to this post 04 Jun 09

The ping command will do that for you. Try typing

ping <server>
into a terminal and see (if you don't have a server to test on, then
ping localhost
will do). You will see a series of lines, one per packet, ending in "time=xxx" - whatever that xxx is, that's the round trip time for that packet.

When you end the ping (ctrl-c), it will even give you the minimum/average/maximum round trip times for the run (I think mdev is the calculated deviation...)

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board