Re: [LARTC] bw console monitoring

Linux Advanced Routing and Traffic Control

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, May 13, 2002 at 08:23:27PM +0700, Kristiadi Himawan wrote:

> Hi,
> I want to see bandwidth every ip address in the local network that passing
> my linux gateway in the console, may be it's similar like mrtg (web based
> version)
> It's possible ?

(I replied yesterday but my message didn't make it through somehow)

Why don't you try WIPL?  It's available from the same site as the WRR
qdisc (http://wipl-wrr.sourceforge.net/) and even though it looks a bit
beta it was able to do for me what I haven't found elsewhere.  Namely,
it took about half an hour to set it up so that it outputs a list of IP
addresses for which traffic has been seen currenly, sorted by the traffic
rate (so that the biggest downloaders are at the top). The traffic rate
is computed based on last 60 seconds' traffic, refreshed every 10
seconds (both configurable, of course).  I set wiplc to output the list
in HTML (configurable, too).  So now I have a URL where I can go to see
top network users *at real time*.  It doesn't do graphs, sure, but I use
rrdtool for graphing anyway.

The best thing is that WIPL's architecture is very modular and
extensible so you can do a lot of thing with its output (e.g. run it
through arbitrary CGI's or even store the values and graph them later if
you really feel the need).

There's one problem, though - wipld doesn't seem to age entries in its
address cache so no matter how big I set the cache, it always overflows
in the end.  I haven't gotten around yet to reporting the bug, though.

	pvl



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux