Re: how to periodically monitor the qdisc size ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx> 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@xxxxxxxxx>:
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@xxxxxxxxxxxxxxxxg
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies




--
Anton.



--

吾輩は猫である。ホームーページはhttps://introo.me
_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@xxxxxxxxxxxxxxxxx
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux