You are not logged in.

#1 2011-01-10 01:38:25

zoqaeski
Member
From: /earth/australia/.
Registered: 2009-09-30
Posts: 132

Persistent network traffic monitoring

I've recently had to switch from wired network to a USB dongle for my internet connection, and as the prepaid connection has a 2 GB limit, I'd like to record how much I'm using and get a warning when I'm running low. I'm already using Conky as a system monitor, and have it display the connection speed and the amount downloaded/uploaded, but as this is reset on reboot, I lose track of the total downloads I've had over a given period.

Is there a way to get conky to display the total transfer, so that it persists between connections? Or better yet, what's a way of recording the total transfer on different interfaces that's persistent between reboots?

Offline

#2 2011-01-10 01:48:15

BinkyTheClown
Member
From: The Circus
Registered: 2008-06-11
Posts: 85
Website

Re: Persistent network traffic monitoring

You can use GKrellM, it has network interface monitors.


Heeeeeey cat!!!

Offline

#3 2011-01-10 01:56:36

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Persistent network traffic monitoring

vnstat will give you nice statistics but won't warn you when you're near a limit.

https://bbs.archlinux.org/viewtopic.php?pid=805544

Last edited by karol (2011-01-10 01:58:19)

Offline

#4 2011-01-11 05:01:17

Pingwinski
Member
From: Sweden
Registered: 2010-10-09
Posts: 15

Re: Persistent network traffic monitoring

The software I've used (on Windows btw) displayed the those stats, which I guess came from the ISP. So take a dive into the documentation of out whatever software you're using.

Edit:
Looking closer at the link in the previous post I withdraw earlier suggestions (on scripting a custom cronjob).

Last edited by Pingwinski (2011-01-11 05:07:10)

Offline

#5 2011-01-11 10:35:41

fukawi2
Ex-Administratorino
From: .vic.au
Registered: 2007-09-28
Posts: 6,224
Website

Re: Persistent network traffic monitoring

I'd go with vnstat and a script to hack it's output to display in conky.... As mentioned though, it won't stop you, but at least make it easier to monitor smile

Last edited by fukawi2 (2011-01-11 10:35:51)

Offline

Board footer

Powered by FluxBB