From mboxrd@z Thu Jan 1 00:00:00 1970 From: Brad Davidson Date: Thu, 13 Feb 2003 06:24:36 +0000 Subject: [LARTC] HTB debug info in kernel log Message-Id: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1252" Content-Transfer-Encoding: quoted-printable To: lartc@vger.kernel.org I set up a Perl script to parse the output of 'tc -s qdisc show dev ' t= o get stats for MRTG. The only problem is, every time the tc command runs, 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=3D= 0 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? Thanks, Brad _______________________________________________ LARTC mailing list / LARTC@mailman.ds9a.nl http://mailman.ds9a.nl/mailman/listinfo/lartc HOWTO: http://lartc.org/