10.20.30.40
(change for your address)--apple-time
means that it will log the time of each ping so you can see failures. Like so:ping
running in Terminal? Just find a server that's on and responds to pings. While it doesn't show the exact times, it gives you some kind of proof that something's wrong.ping
command. It just sends ICMP ECHO_REQUEST and expects the response.arping
instead, or simply chose another remote host, e.g.arping
, e.g.brew install arping
).tcpdump
which can dump traffic on a network. For example to dump all outgoing packets into port 80
and 443
, the syntax could be:-w file
, then read it via -r file
. This will include exact timestamps of each network packets being received or sent.ping
as way to monitor for timeouts, exactly as most answer suggest you do. The advantage of the script is that the output on your screen only shows the pings that timed out, rather than including successful pings as well. In addition you can pass a parameter for the duration of the monitoring, rather than the number of ping attempts. In short it's just a wrapper for the following: ping google.com -i 1 -c 60 | grep 'timeout|statistics|transmitted|avg'
Its source and simple installation instructions are available at the below link: