<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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><div><br></div><div>-- Murphy</div><div><br></div><div><div><div>On Jul 24, 2013, at 12:03 PM, Keqiang He wrote:</div><br class="Apple-interchange-newline"><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 class="python plain">"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></body></html>