{"id":610,"date":"2017-12-13T16:24:35","date_gmt":"2017-12-13T16:24:35","guid":{"rendered":"https:\/\/pandorafms.com\/library\/?p=610"},"modified":"2017-12-13T16:49:03","modified_gmt":"2017-12-13T16:49:03","slug":"network-latency","status":"publish","type":"post","link":"https:\/\/pandorafms.com\/library\/network-latency\/","title":{"rendered":"Network latency"},"content":{"rendered":"<p class=\"description_pui\">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.<\/p>\n<h2>Module data<\/h2>\n<pre>module_begin\u00a0\r\nmodule_name Internet_latency\u00a0\r\nmodule_type generic_data\u00a0\r\nmodule_exec ping www.google.com -c 3 | grep \"rtt min\" | awk '{ print $4 }' | cut -f 2 -d \"\/\"\u00a0\r\nmodule_end<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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\u00a0 module_name Internet_latency\u00a0 module_type generic_data\u00a0 module_exec ping www.google.com -c 3 | grep &#8220;rtt min&#8221; | [&hellip;]<\/p>\n","protected":false},"author":4,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_et_pb_use_builder":"","_et_pb_old_content":"","_et_gb_content_width":"","footnotes":""},"categories":[34,7],"tags":[136],"_links":{"self":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/610"}],"collection":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/users\/4"}],"replies":[{"embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/comments?post=610"}],"version-history":[{"count":0,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/posts\/610\/revisions"}],"wp:attachment":[{"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/media?parent=610"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/categories?post=610"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pandorafms.com\/library\/wp-json\/wp\/v2\/tags?post=610"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}