Re: QOS monitoring?

Linux Advanced Routing and Traffic Control

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

 



Am Freitag, 6. Mai 2005 23:07 schrieb Jason Boxman:
> On Friday 06 May 2005 05:50, Vinod Chandran wrote:
> > Hi,
> >
> > I have  implemented QOS classifiers using TC with HTB. The
> > classification is working.
> > I would like to know whether there is some tool which will help me
> > in monitoring the bandwidth share of the various classes.
>
> You could use my polltc[1] script to log to either Munin or an RRD
> database it creates.
>
> [1] http://edseek.com/~jasonb/software.shtml

don't work for my htb setup.(tested with munin)
seems that the regexp aren't fit for htb setup with prioritys.
sample output from my setup:

#all qdiscs
t-inx2:~# tc -s qdisc show dev ppp0
qdisc htb 1: r2q 10 default 11 direct_packets_stat 8
 Sent 767677738 bytes 4345707 pkts (dropped 51323, overlimits 112484)
qdisc pfifo 100: parent 1:10 limit 3p
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
qdisc ingress ffff: ----------------
 Sent 1953790244 bytes 4738798 pkts (dropped 0, overlimits 0)



#htb details
t-inx2:~# tc -s class show dev ppp0
class htb 1:11 parent 1:1 prio 4 rate 1000bit ceil 450000bit burst 5Kb 
cburst 2161b
 Sent 768804766 bytes 4351688 pkts (dropped 51363, overlimits 0)
 rate 127160bit 83pps
 lended: 68302 borrowed: 4283386 giants: 0
 tokens: -4827456 ctokens: 29972

class htb 1:1 root rate 450000bit ceil 450000bit burst 2161b cburst 
2161b
 Sent 768804766 bytes 4351688 pkts (dropped 0, overlimits 0)
 rate 126400bit 83pps
 lended: 4283386 borrowed: 0 giants: 0
 tokens: 29972 ctokens: 29972

class htb 1:10 parent 1:1 leaf 100: prio 0 rate 100000bit ceil 450000bit 
burst 15Kb cburst 2161b
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 251658 ctokens: 31485

class htb 1:20 parent 1:1 prio 2 rate 300000bit ceil 450000bit burst 5Kb 
cburst 2161b
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 95869 ctokens: 31485

class htb 1:30 parent 1:1 prio 3 rate 50000bit ceil 450000bit burst 5Kb 
cburst 2161b
 Sent 0 bytes 0 pkts (dropped 0, overlimits 0)
 lended: 0 borrowed: 0 giants: 0
 tokens: 95869 ctokens: 31485


-- 
Markus Schulz
_______________________________________________
LARTC mailing list
LARTC@xxxxxxxxxxxxxxx
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

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