Re: [LARTC] TC stats from proc?

Linux Advanced Routing and Traffic Control

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

 



Andrew,

 : Is it possible to get qdisc and class stats directly from proc? (the same
 : information as presented by TC -s -d)

No, there is no place in /proc to read the statistics on the attached
queuing disciplines, classes, nor the number of packets per class.

The data is, however, available via netlink.  See the tc source code in
the kernel and iproute2 package.

There was a discussion on this list (last year) about this very issue.
After that discussion, Pedro Larroy (PiotR) began work on a /proc
interface to these stats.  I do not know the status of his undertaking.

  http://mailman.ds9a.nl/pipermail/lartc/2002q3/004900.html

-Martin


-- 
Martin A. Brown --- SecurePipe, Inc. --- mabrown@xxxxxxxxxxxxxx



[Index of Archives]     [LARTC Home Page]     [Netfilter]     [Netfilter Development]     [Network Development]     [Bugtraq]     [GCC Help]     [Yosemite News]     [Linux Kernel]     [Fedora Users]
  Powered by Linux