[pox-dev] [POX]Help!! How to get the number of buffer packets from the port??

朱超 chaozhujsyc at gmail.com
Sun Jul 14 17:56:17 PDT 2013


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 !!!


2013/7/15 Murphy McCauley <murphy.mccauley at gmail.com>

> On Jul 14, 2013, at 9:15 AM, 朱超 wrote:
>
> > 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?
>
> 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:
> https://openflow.stanford.edu/display/ONL/POX+Wiki
>
> -- Murphy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.noxrepo.org/pipermail/pox-dev-noxrepo.org/attachments/20130715/21c7af87/attachment-0002.htm>


More information about the pox-dev mailing list