Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Mar 2009 18:45:54 +0400
From:      Yuriy Grishin <grishin-mailing-lists@minselhoz.samara.ru>
To:        Jay Aikat <ja@unc.edu>
Cc:        freebsd-pf@freebsd.org
Subject:   Re: pftop queue stats
Message-ID:  <49CE3822.409@minselhoz.samara.ru>
In-Reply-To: <49CE29DB.7010803@unc.edu>
References:  <49CE29DB.7010803@unc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Jay Aikat wrote:
> Hi,
>     I am looking for a way to log queue stats at less than 1 second 
> intervals.
>
> On my FreeBSD router, the pf.conf file is configured as follows:
> > altq on $ext_if1 priq bandwidth 622Mb qlimit 65535 queue { tcp_q1 }
> > queue tcp_q1 on $ext_if1 qlimit 65535 priq (default)
>
> Using pftop, I can get queue lengths per second at best.
> $ pftop -s 1 -v queue -d 1000 > pftop.out
>
> Is there an option in pftop to log stats per millisecond, or even 
> 100ms?  The -s option above seems to default to 1 second at best.
>
> Thanks for any pointers you can give me.

I suppose that there should be some pre-defined variables in the source 
code.
BTW Why do you use an extremely large qlimit?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?49CE3822.409>