[LARTC] getting qdisc stats using rtnetlink sockets

Dan Siemon dan at coverfire.com
Sun Apr 3 22:27:07 CEST 2005


On Mon, 2005-28-03 at 14:17 -0800, js si wrote:
> i wanted to get the qdisc stats without using tc. is
> this possible by just using rtnetlink sockets
> directly? if possible could someone point me to an
> example. 

It's certainly possible.  However, there is very little good
documentation on the Netlink message formats available.  The tc and
kernel source are your best bet.

Alternatively, you could use LQL (http://www.coverfire.com/lql/).


-- 
OpenPGP key: http://www.coverfire.com/files/pubkey.txt
Key fingerprint: FB0A 2D8A A1E9 11B6 6CA3  0C53 742A 9EA8 891C BD98




More information about the LARTC mailing list