Hi Anton,

Thanks for your reply.  Now problem solved.

A minor question is, is there any official documentation on the entry meaning, such as `backlog' ?
I checked the related manpage, but found none.
Or indeed, tc is not thoroughly documented, and one has to check unofficial web blogs?

(BTW, I grepped the iproute2 source, and then found this file: iproute2-4.9.0/include/linux/gen_stats.h  which helps to explains what `backlog' is.).




On Thu, Dec 29, 2016 at 9:49 PM, Anton Danilov <littlesmilingcloud@gmail.com> wrote:
Hi.
You can use 'tc -s qdisc list dev <iface>' and check the 'backlog' line - it's current queue status.


2016-12-28 10:16 GMT+03:00 Shiyao Ma <i@introo.me>:
Hi,

I am using the RED qdsic.

I want to see how many skbuffs are in the red qdisc, and the total bytes of the skbuffs, like in every 2 seconds.


Regards

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
Anton.



--

吾輩は猫である。ホームーページはhttps://introo.me