From mboxrd@z Thu Jan 1 00:00:00 1970 From: i@introo.me (Shiyao Ma) Date: Thu, 29 Dec 2016 23:04:19 +0800 Subject: how to periodically monitor the qdisc size ? In-Reply-To: References: Message-ID: To: kernelnewbies@lists.kernelnewbies.org List-Id: kernelnewbies.lists.kernelnewbies.org 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 wrote: > Hi. > You can use 'tc -s qdisc list dev ' and check the 'backlog' line - > it's current queue status. > > > 2016-12-28 10:16 GMT+03:00 Shiyao Ma : > >> 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 at kernelnewbies.org >> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies >> >> > > > -- > Anton. > -- ????????????????https://introo.me ? -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20161229/027ede3a/attachment.html