From owner-freebsd-pf@FreeBSD.ORG Mon Feb 16 21:25:41 2009 Return-Path: Delivered-To: freebsd-pf@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DE09B106566C for ; Mon, 16 Feb 2009 21:25:41 +0000 (UTC) (envelope-from ivanatora@gmail.com) Received: from mail-bw0-f170.google.com (mail-bw0-f170.google.com [209.85.218.170]) by mx1.freebsd.org (Postfix) with ESMTP id 6A10A8FC16 for ; Mon, 16 Feb 2009 21:25:41 +0000 (UTC) (envelope-from ivanatora@gmail.com) Received: by bwz18 with SMTP id 18so4214569bwz.19 for ; Mon, 16 Feb 2009 13:25:40 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=GvAMjSCoyrgLAoRD8AfM2+P43jn7hx6MSAcDEPpkZZw=; b=CusULFqB5RpUY6oHogeJ/p+mtuVjJGu9ge+gFFAcqLHDHo2S66UT34egYFj1GswcQk 7zcxcaCr6qj9rbrfIhatanl9izgEVOx/t/USNypCr6BdBsJY0vKg1A+kp8hXbHePmHEY dqwBqE5jPFAgbCaaEPlr3iqUjTYeiFOMW/Xr8= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=U/HyuB4on3HCisLszMHQGDQnPl3CTvp4wxjp+5jxnI7I43AVTBKAztUc8HpAxREMZh 5usMM3waYm+8FlpuVYe9WJ9vq3DyOLRvVafeoyAiUF6HuBOSMU3mKgq2j2OONECkQvId dRsow9DUGVe6oYZG1LIVVf66aEfNTuRMcbBzc= MIME-Version: 1.0 Received: by 10.223.114.208 with SMTP id f16mr4054851faq.91.1234819540167; Mon, 16 Feb 2009 13:25:40 -0800 (PST) In-Reply-To: <4999C3CC.9040306@email.unc.edu> References: <4999C3CC.9040306@email.unc.edu> Date: Mon, 16 Feb 2009 23:25:40 +0200 Message-ID: From: Ivan Petrushev To: Jay Aikat Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Cc: freebsd-pf@freebsd.org Subject: Re: real-time queue stats every 5 sec X-BeenThere: freebsd-pf@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Technical discussion and general questions about packet filter \(pf\)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 16 Feb 2009 21:25:42 -0000 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 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" >