[LARTC] HTB debug info in kernel log

Linux Advanced Routing and Traffic Control

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

 



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 <if>'
> to 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=2 t=22748 c=19272 pq=0 df=4907008 ql=0 pa=0 f:
> oatmail kernel: htb*c10094 m=2 t=86150 c=86150 pq=0 df=237568 ql=0 pa=0 f:
> oatmail kernel: htb*g j=171630276
> oatmail kernel: htb*r7 m=0
> oatmail kernel: htb*r6 m=0
>
> 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 there 
numbers, means there is something miss with your htb setup and has nothing to 
do with you asking for statistics.  You can find more info on the homepage of 
htb.  But it's possible that your rates settings are too low.

Stef

-- 

stef.coene@docum.org
 "Using Linux as bandwidth manager"
     http://www.docum.org/
     #lartc @ irc.oftc.net



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