Date: Mon, 16 Feb 2009 23:25:40 +0200 From: Ivan Petrushev <ivanatora@gmail.com> To: Jay Aikat <jaikat@email.unc.edu> Cc: freebsd-pf@freebsd.org Subject: Re: real-time queue stats every 5 sec Message-ID: <d39744a20902161325w171dafc8uc86b40f3e1298289@mail.gmail.com> In-Reply-To: <4999C3CC.9040306@email.unc.edu> References: <4999C3CC.9040306@email.unc.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-pf > To unsubscribe, send any mail to "freebsd-pf-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?d39744a20902161325w171dafc8uc86b40f3e1298289>