Is there a way I can log the health of my Internet connection like pinging a server then making a log/graph where I can see when my Internet connection were down??
Networking – How to Monitor Internet Connection Health
internetnetworkingping
Related Solutions
You can configure apt to restrict its download speed by setting a configuration file in /etc/apt/apt.conf.d/, as detailed in this post
Specifically, create a file:
/etc/apt/apt.conf.d/76download
that contains the text:
Acquire { Queue-mode "access"; http { Dl-Limit "65"; }; };
where "65" is the speed in kb/s
You are looking for mtr. I always leave mtr 8.8.8.8
running.
If you're not familiar with 8.8.8.8, it's Google's global DNS service, using anycast, so you always get a nearby node, and it's a dead easy IP to remember. So it works no matter where you are located, and if you move.
Once mtr starts press d once, then you'll see the last X pings, beautiful.
My traceroute [v0.82]
host.local (0.0.0.0) Sat Jun 14 14:10:27 2014
Keys: Help Display mode Restart statistics Order of fields quit
Last 50 pings
1. 192.168.1.1 .....?.........?...............?.........??.......
2. 87.186.224.71 ..................................................
3. 87.190.171.194 ..................................................
4. b-ea6-i.B.DE.NET.DTAG.DE ..................................................
5. 194.25.211.30 ..................................................
6. 209.85.249.182 ..................................................
7. 66.249.95.175 ..................................................
8. 216.239.48.53 ..................................................
9. 0.0.0.0 ??????????????????????????????????????????????????
10. google-public-dns-a.goog .................................................?
Scale: .:3 ms 1:6 ms 2:9 ms 3:17 ms a:35 ms b:53 ms c:85 ms
Pro tip: Stretch your window to the last 200 pings... :-)
Best Answer
If this is a wireless connection you are using you could use something like NetSurveyor. This analyses all traffic, and gives you percentage read outs of the throughput of the Wireless LAN.