Logging connection speeds
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Logging connection speeds
Is it possible to have the connection speeds logged and to display a daily average? It would be nice to see a spreadsheet of daily averages over the past month.
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Re: Logging connection speeds
First, I'm going to guess you are interested in connection speeds on your ISP (your WAN) and not the speed that your PC connects to your router (your LAN or home network) which is going to be much faster. Is that about right? These links will do a manual check, but no logging here obviously.KDoug wrote:Is it possible to have the connection speeds logged and to display a daily average? It would be nice to see a spreadsheet of daily averages over the past month.
http://www.speakeasy.net/speedtest/
http://www.bandwidthplace.com/
There are tools / packages you can get to do this kind of monitoring. I found a few on Google, here's an article on a few of them.
http://www.techrepublic.com/blog/five-a ... ools/1342/
Re: Logging connection speeds
like so?
vnstat -i eth0 -m
eth0 / monthly
month rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
Mar '14 716.50 MiB | 218.33 MiB | 934.83 MiB | 2.86 kbit/s
Apr '14 6.67 GiB | 3.25 GiB | 9.93 GiB | 52.16 kbit/s
------------------------+-------------+-------------+---------------
estimated 10.83 GiB | 5.28 GiB | 16.11 GiB |
Re: Logging connection speeds
That's a nice looking tool for monitoring. It's simple and worth installing, right from PM too. Thanks for the info Habitual.Habitual wrote:vnstat -i eth0 -m
eth0 / monthly
month rx | tx | total | avg. rate
------------------------+-------------+-------------+---------------
Mar '14 716.50 MiB | 218.33 MiB | 934.83 MiB | 2.86 kbit/s
Apr '14 6.67 GiB | 3.25 GiB | 9.93 GiB | 52.16 kbit/s
------------------------+-------------+-------------+---------------
estimated 10.83 GiB | 5.28 GiB | 16.11 GiB |
Re: Logging connection speeds
You are very welcome.
Add something like this to root's cron:
Add something like this to root's cron:
Code: Select all
#vnstat updatedb
*/5 * * * * /usr/bin/vnstat -u >/dev/null 2>&1