[Novalug] bandwidth tracking/monitoring

Brandon Saxe brandon20va at yahoo.com
Thu Jul 23 09:14:16 EDT 2009


Thanks for the reply. Do you know where this max-rate is configured?

--- On Thu, 7/23/09, Wei Wu Wei <wei.wu.wei.1 at gmail.com> wrote:

> From: Wei Wu Wei <wei.wu.wei.1 at gmail.com>
> Subject: Re: [Novalug] bandwidth tracking/monitoring
> To: "Brandon Saxe" <brandon20va at yahoo.com>
> Cc: "novalug mailing list" <novalug at calypso.tux.org>
> Date: Thursday, July 23, 2009, 8:01 AM
> On Wed, Jul 22, 2009 at 3:35 PM,
> Brandon Saxe<brandon20va at yahoo.com>
> wrote:
> > Hello,
> >
> > I was wondering how/where to start looking for data
> related to tracking bandwidth usage on Linux. To be more
> specific, I have a dd-wrt router and would like to view all
> the NAT'd connections and the bandwidth each connection has
> consumed since it was established. I would like to see this
> real-time and possibly save data to a database/file for
> reporting later. I know there are tools that do this, but
> I'm curious how to do it on my own. Also, does anybody know
> what the "rate=x" field in /proc/net/ip_conntrack means?
> >
> > Thanks,
> >  Brandon
> 
> Brandon:
> 
> I could be wrong, but I believe that when a "max-rate" is
> set in the
> configuration, ip_conntrack entries will show a "rate=x"
> which is an
> expression of actual rate (per second) compared to the
> max-rate
> threshold/configuration (per second) for that connection
> type.
> 
> -JD
> 



More information about the Novalug mailing list