LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 02-05-2009, 06:16 PM   #1
deadlove75
Member
 
Registered: Mar 2004
Location: Alabama
Distribution: Mandriva 2005 LE
Posts: 47

Rep: Reputation: 15
Question Bandwidth Monitoring Tool with Gui that can be Reset Each Month?


I'm looking for a network bandwidth monitoring tool with a gui that I can reset the monthly download and upload measurements. My isp (charter) is going to cap bandwidth, and I need to start keeping track of my bandwidth.

I use KDE and Mandriva, but I'm not sure that matters. I can use Gnome just as easily.

Last edited by deadlove75; 02-05-2009 at 06:18 PM. Reason: spelling error in title
 
Old 02-05-2009, 07:07 PM   #2
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Do you have a host through which all traffic runs, like a firewall/router? If yes, and if that host is Linux, then it is trivial to get the numbers you require from iptables. I have no idea what purpose a GUI could serve, but what I do is collect one-minute samples of traffic, and use a bit of perl code to produce a plot and total throughput numbers using a web interface.
--- rod.
 
Old 02-05-2009, 07:17 PM   #3
deadlove75
Member
 
Registered: Mar 2004
Location: Alabama
Distribution: Mandriva 2005 LE
Posts: 47

Original Poster
Rep: Reputation: 15
I have no idea what my host, Charter, does. I have a router and already have a bandwidth monitor on my windows machine (I believe called bandwidth monitor that gives me daily, weekly, and monthly amounts). I just need a bit of software that'll keep track of my bandwidth downloads in Linux that will show monthly or be reset.

Basically, a Linux version of:

http://www.bwmonitor.com/

... or similar.

A gui would make it easier for me and visually more appealing.
 
Old 02-05-2009, 08:02 PM   #4
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Your options:
1] Change your ISP
2] Ask your search engine to search this site for usage / bandwidth / logging /monitoring / etc.

Because I know this Q has been answered before on these forums, but I never bookmarked the link, I just thought "that's interesting, if I ever need it". (I have not needed it).

Hmm. I just searched again. Try this thread, it may get you started: http://www.linuxquestions.org/questi...17#post3283217
 
Old 02-06-2009, 10:00 AM   #5
theNbomr
LQ 5k Club
 
Registered: Aug 2005
Distribution: OpenSuse, Fedora, Redhat, Debian
Posts: 5,399
Blog Entries: 2

Rep: Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908Reputation: 908
Unless the tool runs on the device that concentrates all traffic going in and out of the LAN, you will have no way of distinguishing what traffic is local and what traffic is leaving or entering the LAN. Even if you are able to distinguish this, your total throughput will still be distributed across all hosts on the LAN, and you will have to aggregate the results from all hosts in order to get a meaningful number.
In Linux, a quick and dirty way of getting the total throughput since last boot: (as root)
Code:
/sbin/iptables -vnx -L
I use this in a cronjob, along with the '-z' option to zero the counters. A one-liner perl script sucks the numeric data out of the listings, and stores it in a log file, which I can plot and compute totals from. I, too, am encumbered by throughput limits imposed by my home ISP, and this is how I monitor throughput, but do so on a Linux iptables firewall.

With just a bit of creativity, one could write a few hundred lines of code to put a GUI in front of this.
--- rod.

Last edited by theNbomr; 02-06-2009 at 10:15 AM.
 
Old 02-06-2009, 10:24 AM   #6
tredegar
LQ 5k Club
 
Registered: May 2003
Location: London, UK
Distribution: Fedora38
Posts: 6,147

Rep: Reputation: 435Reputation: 435Reputation: 435Reputation: 435Reputation: 435
Quote:
Unless the tool runs on the device that concentrates all traffic going in and out of the LAN
Good point, especially if you are going to be switching from linux to windows and back again.
My modem / router has a webpage that gives up/download statistics, maybe yours has too, and you can get the information you need from there.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Bandwidth monitoring tool ceantuco Linux - Newbie 4 07-16-2008 03:24 PM
Linux desktop GUI tool for CPU utilization and bandwidth utilization karimasif Linux - Software 4 03-03-2008 01:09 PM
Bandwidth Utilization Monitoring Tool? Swakoo Linux - Networking 4 05-15-2006 10:21 PM
Tracking Total Bandwidth Usage for Month Chibo *BSD 3 08-08-2004 01:56 AM
bandwidth monitoring tool pulsar Linux - Networking 0 02-22-2003 04:30 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration