<div dir="ltr">sorry, my English is so poor, i have saw the port stats. from the reply, we can know the number of transmitted/received packets(bytes) and the number of packets dropped by RX(TX). if i want to know the buffer size of the packets in the port, (rx_bytes- tx_bytes) is right? or (rx_packets - tx_packets - tx_dropped - rx_dropped) is right? can you tell me the relationship between rx_packets, tx_packets, rx_dropped and tx_dropped? Thank you very much !!!</div>
<div class="gmail_extra"><br><br><div class="gmail_quote">2013/7/15 Murphy McCauley <span dir="ltr"><<a href="mailto:murphy.mccauley@gmail.com" target="_blank">murphy.mccauley@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On Jul 14, 2013, at 9:15 AM, Ö쳬 wrote:<br>
<br>
> Hello everyone, I got puzzled when I use POX. I want to read the buffer size for the packet goes through the port periodly. How can I realize it in POX?<br>
<br>
</div>If I'm understanding you correctly, you just want to send a port stats request to the switch periodically and then examine the reply.  The stats sections and the "Statistics Collector Example" on the POX wiki should be helpful:<br>

<a href="https://openflow.stanford.edu/display/ONL/POX+Wiki" target="_blank">https://openflow.stanford.edu/display/ONL/POX+Wiki</a><br>
<span class="HOEnZb"><font color="#888888"><br>
-- Murphy</font></span></blockquote></div><br></div>