Logging connection speeds

Forum rules
Before you post please read how to get help

Logging connection speeds

Postby KDoug on Sat Apr 19, 2014 9:40 am

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. :?: :?:
Linux Mint KDE 32 bit v. 3.5.0-17-Generic on a Dell Laptop Latitude D610, 2Gb RAM and 75 GB hard drive as dual boot with Windows XP. KDE SC version 4.10.2, processor is Intel Pentium M 2.13 GHz.
KDoug
Level 1
Level 1
 
Posts: 17
Joined: Thu Mar 28, 2013 2:44 pm

Linux Mint is funded by ads and donations.
 

Re: Logging connection speeds

Postby gtsfer on Sat Apr 19, 2014 11:11 am

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/
There's no Windows in my house. And it's a brighter and happier place now.
LMDE Mate, Cinnamon 17, KDE 17, Debian 7.6.0. Edit your first post and add SOLVED to the Subject if it's resolved.
User avatar
gtsfer
Level 7
Level 7
 
Posts: 1692
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Logging connection speeds

Postby Habitual on Sat Apr 19, 2014 11:36 am

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 |
What's a landing but a take off in reverse?
User avatar
Habitual
Level 8
Level 8
 
Posts: 2246
Joined: Sun Nov 21, 2010 8:31 pm
Location: LM17Q-Xfce

Re: Logging connection speeds

Postby gtsfer on Sat Apr 19, 2014 12:38 pm

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.
There's no Windows in my house. And it's a brighter and happier place now.
LMDE Mate, Cinnamon 17, KDE 17, Debian 7.6.0. Edit your first post and add SOLVED to the Subject if it's resolved.
User avatar
gtsfer
Level 7
Level 7
 
Posts: 1692
Joined: Mon May 27, 2013 9:15 am
Location: Bucks County PA, USA

Re: Logging connection speeds

Postby Habitual on Sun Apr 20, 2014 9:37 am

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
What's a landing but a take off in reverse?
User avatar
Habitual
Level 8
Level 8
 
Posts: 2246
Joined: Sun Nov 21, 2010 8:31 pm
Location: LM17Q-Xfce


Return to KDE

Who is online

Users browsing this forum: No registered users and 2 guests