[LARTC] Data collection in Linux TC queue

Catalin BOIE util@deuroconsult.ro
Tue, 13 Jul 2004 13:49:36 +0300 (EEST)


On Tue, 13 Jul 2004, Sipat Triukose wrote:

> Dear Catalin BOIE,
>
> Thank you very much for your advice. I might want to collect pkt size of
> all pkt ever enqueue during a period of time. Would you mind please give
> me more detail regarding how to use "libnetlink" or direct me to any
> helpful sources. Thank you very much.

You can check out last iproute2 sources.
http://developer.osdl.org/dev/iproute2/

>
>
> On Tue, 2004-07-13 at 06:13, Catalin BOIE wrote:
>>> Dear All,
>>>
>>> Would you guy have any advices concerning how to get some data like
>>> queue length, pkt size, and so forth, from the running queue.
>>
>> Queue len, bytes, bps, pps, packets can be obtain by using libnetlink.
>> What do you mean by "pkt size"? An average or something for every packet?
>>
>>>
>>> Right now, I modified the queue disc to print out some info I want using
>>> printk() and use syslogd to catch those info up. The problem is, in
>>> burst, syslogd can't catch all the msg the queue sent out.
>>>
>>> Are there any standard or better way to collect those info from the
>>> queue disc ?
>>>
>>> Thank you very much in advance for every advices.
>>>
>>> --
>>> Sipat Triukose <sxt85@case.edu>
>>> Case Western Reserve University
>>>
>>> _______________________________________________
>>> LARTC mailing list / LARTC@mailman.ds9a.nl
>>> http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/
>>>
>>
>> ---
>> Catalin(ux aka Dino) BOIE
>> catab at deuroconsult.ro
>> http://kernel.umbrella.ro/
> --
> Sipat Triukose <sxt85@case.edu>
> Case Western Reserve University
>

---
Catalin(ux aka Dino) BOIE
catab at deuroconsult.ro
http://kernel.umbrella.ro/