From: Daniel Frederiksen <cyberdoc@cyberdoc.dk>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] Bandwidth Metering
Date: Tue, 28 Sep 2004 14:17:00 +0000 [thread overview]
Message-ID: <1096381020.1732.243.camel@hermes> (raw)
In-Reply-To: <603140b604092806537428029d@mail.gmail.com>
Hello Patrick
I personally use ipfm (http://freshmeat.net/projects/ipfm/) to do the
traffic logging, and then I got a home brewed perl script running in
cron every 5 min. to parse the accumulated data and create/update a RRD
(http://people.ee.ethz.ch/~oetiker/webtools/rrdtool/) base for each
host. When you got the RRD bases you can output a nice graph on-the-fly
from you webserver or run the graphing procedure from cron. If you like
I could send you the ipfm config and the perl script.
There might be other "projects" to look at, like ntop and etc. Try
searching for it on freshmeat.net.
Note: This solution is primarily for general host traffic accumulation
based on a subnet. The stats are collected via libpcap and can be done
in promiscuous mode. This is not for website stats, for that you need to
parse your webserver log files. But I guess you already know that.
Daniel Frederiksen, Cyberdoc.dk
On Tue, 2004-09-28 at 15:53, Patrick Coleman wrote:
> Hi,
> How do you meter the amount of bandwidth a user has consumed (as
> webhosting companies do) under linux? I have searched everywhere, but
> have been unable to find a solution. Apologies if this is the wrong
> forum.
> Thanks,
> Patrick
> _______________________________________________
> LARTC mailing list / LARTC@mailman.ds9a.nl
> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
_______________________________________________
LARTC mailing list / LARTC@mailman.ds9a.nl
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
next prev parent reply other threads:[~2004-09-28 14:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-09-28 13:53 [LARTC] Bandwidth Metering Patrick Coleman
2004-09-28 14:17 ` Daniel Frederiksen [this message]
2004-09-28 14:25 ` Tomasz Chilinski
2004-09-28 16:54 ` Daniel Frederiksen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1096381020.1732.243.camel@hermes \
--to=cyberdoc@cyberdoc.dk \
--cc=lartc@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.