Logging connection speeds

Questions about applications and software
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
Locked
KDoug

Logging connection speeds

Post by KDoug »

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.
gtsfer

Re: Logging connection speeds

Post by gtsfer »

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. :?: :?:
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.
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/
Habitual

Re: Logging connection speeds

Post by Habitual »

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 |
gtsfer

Re: Logging connection speeds

Post by gtsfer »

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 |
That's a nice looking tool for monitoring. It's simple and worth installing, right from PM too. Thanks for the info Habitual.
Habitual

Re: Logging connection speeds

Post by Habitual »

You are very welcome.

Add something like this to root's cron:

Code: Select all

#vnstat updatedb
*/5 * * * * /usr/bin/vnstat -u >/dev/null 2>&1
Locked

Return to “Software & Applications”