Last week, Ken Foster showed us how to use psping on for measuring network latency on Windows - Tip of the Week: Measuring Network Latency. On Linux you can use ping with specific options to achieve similar results.
ping -U -q -c 300 -s 1200 18.104.22.168
The options are as follows:
-U display full user-to-user latency, not just network round trip time.
-q Print only the first line and the summary
-c The number requests to send at one second intervals (300 = 5 minutes worth)
-s The number of bytes sent for each ping
rtt is ‘round trip time’. The values that follow are the minimum, average, and maximum latency values in milliseconds.
Please see previous blog posts on latency: