1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
Loading...
:

This is done using a linux server, by executing ping and parsing its output, depending on linux distro could be different and you will need to adjust the command, but should be very similar even in windows hosts.

Module data

module_begin 
module_name Internet_latency 
module_type generic_data 
module_exec ping www.google.com -c 3 | grep "rtt min" | awk '{ print $4 }' | cut -f 2 -d "/" 
module_end
(Visited 419 times, 1 visits today)