Linux Advanced Routing and Traffic Control list
 help / color / mirror / Atom feed
From: Markus Schulz <msc@antzsystem.de>
To: lartc@vger.kernel.org
Subject: Re: [LARTC] QOS monitoring?
Date: Sat, 07 May 2005 16:55:04 +0000	[thread overview]
Message-ID: <200505071855.04955.msc@antzsystem.de> (raw)
In-Reply-To: <427B3DD8.2040300@multitech.co.in>

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@mailman.ds9a.nl
http://mailman.ds9a.nl/cgi-bin/mailman/listinfo/lartc

  parent reply	other threads:[~2005-05-07 16:55 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-05-06  9:52 [LARTC] QOS monitoring? Vinod Chandran
2005-05-06 21:07 ` Jason Boxman
2005-05-07 16:55 ` Markus Schulz [this message]
2005-05-07 18:27 ` Markus Schulz

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=200505071855.04955.msc@antzsystem.de \
    --to=msc@antzsystem.de \
    --cc=lartc@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox