Measure Network Latency by Pinging Hosts
ICMP echo packets (or "ping") can be used as a measure of connection response time. PingTime can be used to track and diagnose potential network routing and performance issues.
Ping wolfram.com.
In[1]:=

ping = PingTime["wolfram.com"]
Out[1]=

Convert the result to other units.
In[2]:=

UnitConvert[ping, "Seconds"]
Out[2]=

In[3]:=

UnitConvert[ping, "Minutes"]
Out[3]=

In[4]:=

UnitConvert[ping, "Eons"]
Out[4]=

Use a series of pings over time to periodically test network conditions.
In[5]:=

pings = PingTime["wolfram.com", 400]
In[6]:=

Histogram[pings]
Out[6]=
