Welcome to the most active Linux Forum on the web.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 04-20-2003, 09:01 AM   #1
LQ Newbie
Registered: Apr 2003
Location: germany
Distribution: gentoo
Posts: 7

Rep: Reputation: 0
ip traffic mb/month

I have a 5GB Internet traffic contingent for a month which I pay a fixed sum for. Anything above costs extra.

I'm looking for a solution of logging monthly traffic volume (to be reset every 16st of a month), based on iptables.

After googling around and finding all kinds of monitoring and logging software I'm only confused and most packages seem to be overkill for my purposes.

Can somebody please point me to a simple, lightweight solution for this?
Old 04-23-2003, 08:08 AM   #2
Registered: Apr 2002
Location: Melbourne, Australia
Distribution: Gentoo
Posts: 273

Rep: Reputation: 30
you probably don't need to use iptables, unless you want to sever the connection if the cap is broken. There was an article in a magazine here in Australia that covered what what you want to do using /proc/net/dev stats read into a file and then graphed with mrtg. It may be a little harder to follow without the article (only published in the mag) but still worth a look. Check out the download section on the Atomic web site for Atomic-Wall, or better still try to get a copy of the mag. If you have any trouble following it let me know.
Old 04-23-2003, 08:33 AM   #3
LQ Newbie
Registered: Apr 2003
Location: germany
Distribution: gentoo
Posts: 7

Original Poster
Rep: Reputation: 0
Just downloaded atomic-wall and took a look into the files. Should'nt be a problem to bring this to use.

Thank you very much!


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Traffic shaping (limiting outgoing bandwidth of all TCP-traffic except FTP/HTTP) ffkodd Linux - Networking 3 10-25-2008 12:09 AM
transform month number to month name in php ALInux Programming 1 11-09-2005 10:45 AM
Starting day of month, month length chrisk5527 Programming 2 03-03-2004 04:03 PM
Wireless traffic stomps isdn traffic on gateway machine Radix999 Linux - Wireless Networking 0 11-14-2003 12:54 AM
Traffic capped at 1gb/month absm1 Linux - Networking 0 09-12-2003 12:03 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 10:52 PM.

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