real-time queue stats every 5 sec

Ivan Petrushev ivanatora at gmail.com
Mon Feb 16 13:25:42 PST 2009


Check out `pftop`. It can display various stats from the packet
filter. On screen number 6 or 7 you can see your queues in a nice
tree-like hierarchial structure with current rate assigned and maximum
bandwidth.

On Mon, Feb 16, 2009 at 9:51 PM, Jay Aikat <jaikat at email.unc.edu> wrote:
> Hi,
>        I am looking for an option, if there is one, with pfctl logging queue
> stats in real time.
>
> My pf.conf file has the following:
> altq on $ext_if1 priq bandwidth 622Mb qlimit 65535 queue { tcp_q1 }
> queue tcp_q1 on $ext_if1 qlimit 65535 priq (default)
>
> I can see updated queue stats every 5 seconds with
> pfctl -s queue -v -v
>
> But is there an existing option to change this update to say a different
> delta of time?  I need updates every sec if not every millisecond.
>
> I have looked at pflogd output, but I don't see a way to distinguish which
> packets are queued and which ones are just passed on.  Thanks in advance for
> your help.
> --Jay.
> _______________________________________________
> freebsd-pf at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-pf
> To unsubscribe, send any mail to "freebsd-pf-unsubscribe at freebsd.org"
>


More information about the freebsd-pf mailing list