[Click] Counters or other instrumentation

Eddie Kohler kohler at cs.ucla.edu
Wed May 7 12:47:47 EDT 2008


In addition, if you compile click with
#define CLICK_STATS 1
each active port (push output/pull input) remembers how packets traversed it. 
  This information is visible in the element's "ports" handler.

Eddie



Roman Chertov wrote:
> Hello Jeff,
>    Each ToDevice has a counter associated with it.   Additionally, you 
> can use AverageCounter elements to provide you with count/rate 
> statistics for packets and bytes.
> 
> Roman
> 
> Jeff Enderwick wrote:
>> Using Click embedded in a Linux kernel. Wondering if there is any
>> infrastructure to maintain counters at each port, or other instrumentation
>> to see where the packets are going. If not, it might be a cool thing :-)
>>
>> _______________________________________________
>> click mailing list
>> click at amsterdam.lcs.mit.edu
>> https://amsterdam.lcs.mit.edu/mailman/listinfo/click
>>
> _______________________________________________
> click mailing list
> click at amsterdam.lcs.mit.edu
> https://amsterdam.lcs.mit.edu/mailman/listinfo/click



More information about the click mailing list