[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Pandora] pcap component & periodic statistics
From: |
Simon Patarin |
Subject: |
Re: [Pandora] pcap component & periodic statistics |
Date: |
Wed, 17 Sep 2003 01:15:53 +0200 (CEST) |
Hi,
[ nice to hear from you again :) ]
> I was looking for periodically get statistics from the pcap component, I
> have seen the methods you defined but no example use of them in such way...
[...]
> Is there a supossed way to do this? or must I do it myself?
I think that the simplest way to do it would be to modify the
PcapHandlerComponent::process method to make it output periodic
statistics. If you do not set the $pcount option to a negative number (cf.
the "cnt" parameter of pcap_dispatch) this method will be called on a
regular basis.
Simon