Skip to contentSkip to conversation

TC stats from proc?

LARTC Andrew Hall 2 participants 2 messages Mar 4, 2003

lore
Share & tools
lore
#1 lore raw

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

Signature · 5 lines
Martin A. Brown --- SecurePipe, Inc. --- [email protected]

_______________________________________________
LARTC mailing list / [email protected]
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/