Counter element: rate handler

Brecht Vermeulen brecht.vermeulen at rug.ac.be
Thu Mar 28 01:52:46 EST 2002


> The documentation for the counter element says that the rate handler
> returns the recent arrival rate (measured by exponential weighted moving
> average) in packets/bytes per second.
> 

I'm not 100% sure, but I think this is just a mistake in the
documentation and should be packets.

> When I use Pokehandlers to print the rate, I see the rate in
> packets/second.
> 
> Is there anyway that I can get the rate in bytes/second especially if
> variable length packets
> are being received on one end?
> 

maybe ipratemonitor can do something for you or I think you can very
easily adapt counter to keep also the byte rate I think. (see e.g.
bandwidthmeter for some inspiration).

regards,
Brecht



More information about the click mailing list