Hello Murphy--<br><br>Thanks for this info :), it works well.<br><br><br><br><div class="gmail_quote">On Wed, Jul 24, 2013 at 3:36 PM, Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>The POX wiki has a link to an extended version of the stats example by William Emmanuel Yu which polls the stats periodically ("Statistics Collector Example").  Start with that, and change the _handle_flowstats_received() function to just "print len(event.stats)".</div>
<span class="HOEnZb"><font color="#888888"><div><br></div><div>-- Murphy</div></font></span><div><div class="h5"><div><br></div><div><div><div>On Jul 24, 2013, at 12:03 PM, Keqiang He wrote:</div><br><blockquote type="cite">
Hi--<br><br>I want to know is there any method to perform a periodical query on the number of flow rules in the switch by POX?<br><br>The POX gives us a web statistics examples, I am curious how to make the  <font size="4"><code>"handle_flow_stats" function print<br>

the statistics in a periodical manner.<br><br>Any experience/hint is appreciated. Thanks<br><br><br></code></font>
</blockquote></div><br></div></div></div></div></blockquote></div><br>