From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stef Coene Date: Thu, 13 Feb 2003 07:30:25 +0000 Subject: Re: [LARTC] HTB debug info in kernel log Message-Id: List-Id: References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org On Thursday 13 February 2003 08:10, Brad Davidson wrote: > I set up a Perl script to parse the output of 'tc -s qdisc show dev ' > to get stats for MRTG. The only problem is, every time the tc command run= s, > I get many lines output to my kernel level syslog - 84, to be exact They > look something like this: > > oatmail kernel: htb*c10124 m=3D2 t"748 c=19272 pq=3D0 dfI07008 ql=3D0 pa= =3D0 f: > oatmail kernel: htb*c10094 m=3D2 t=86150 c=86150 pq=3D0 df#7568 ql=3D0 pa= =3D0 f: > oatmail kernel: htb*g j=171630276 > oatmail kernel: htb*r7 m=3D0 > oatmail kernel: htb*r6 m=3D0 > > I found some reference in the source to a command to tc to set various > debug levels, although the function that seems to be printing the info > (htb_debug_dump) does not seem to care about the set level - if debug is > defined, it prints. Short of altering the DEFINE statement and recompiling > the kernel, is there any way to disable this output? I had the same problem. I uncomment the DEFINE statement. But logging the= re=20 numbers, means there is something miss with your htb setup and has nothing = to=20 do with you asking for statistics. You can find more info on the homepage = of=20 htb. But it's possible that your rates settings are too low. Stef --=20 stef.coene@docum.org "Using Linux as bandwidth manager" http://www.docum.org/ #lartc @ irc.oftc.net _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/