Re: tc monitoring

Linux Advanced Routing and Traffic Control

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

 



On Thursday 30 September 2004 14:59, you wrote:
> Am Thursday 30 September 2004 13:31 schrieb Antonios Chalkiopoulos:
> > So is there a way to use the tc command and manage to get usefull
> > information about which qdisc is parent and which is a leaf?
>
> Well, if there is no child then it is a leaf. You have to do a bit of
> parsing there... tc is not really useful at all for that kind of stuff.
>
> I had the same problem, I wrote a script to create graphs like
> this one http://www.metamorpher.de/files/fairnat_ipp2p.png (big image).
>
> The script is http://www.metamorpher.de/files/tc-graph.pl
> It creates a graph description which can be used by GraphViz to visualize.
>
> Andreas

Nice work Andrea! :) The only limitation i noticed so far is that it can not 
properly parse the virtual channels of GRED qdisc. GRED is a tricky qdisc as 
it can contain 1..16 RED qdisc as virtual channels. It shouldn't be too 
complex to implement that feature as the output is straight-forward

qdisc gred 805f:
DP:1 (prio 8) Average Queue 0b Measured Queue 0b
        Packet drops: 0 (forced 0 early 0)
        Packet totals: 0 (bytes 0)  ewma 3 Plog 25 Scell_log 12
DP:2 (prio 8) Average Queue 36110b Measured Queue 35428b
        Packet drops: 517 (forced 0 early 517)
        Packet totals: 14128 (bytes 14721376)  ewma 3 Plog 20 Scell_log 12
Sent 14182662 bytes 13611 pkts (dropped 517, overlimits 517 requeues 0)

Thanks , Antonios Chalkiopoulos
_______________________________________________
LARTC mailing list / LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/

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