From owner-freebsd-pf@FreeBSD.ORG Sat Mar 28 14:38:04 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 312A6106566B for ; Sat, 28 Mar 2009 14:38:04 +0000 (UTC) (envelope-from ja@unc.edu) Received: from mxpm.isis.unc.edu (mxp3.isis.unc.edu [152.2.2.161]) by mx1.freebsd.org (Postfix) with ESMTP id CC4C08FC18 for ; Sat, 28 Mar 2009 14:38:03 +0000 (UTC) (envelope-from ja@unc.edu) Received: from smtp.unc.edu (smtpsrv2.isis.unc.edu [152.2.2.250]) by mxp3.isis.unc.edu (8.14.3/8.14.3) with ESMTP id n2SDj2co011662 for ; Sat, 28 Mar 2009 09:45:02 -0400 Received: from [152.2.131.30] (aikat-pc.cs.unc.edu [152.2.131.30]) (authenticated bits=0) by smtp.unc.edu (8.14.3/8.14.3) with ESMTP id n2SDj1C9027163 for ; Sat, 28 Mar 2009 09:45:02 -0400 (EDT) Message-ID: <49CE29DB.7010803@unc.edu> Date: Sat, 28 Mar 2009 09:44:59 -0400 From: Jay Aikat Organization: University of North Carolina at Chapel Hill User-Agent: Thunderbird 2.0.0.21 (Windows/20090302) MIME-Version: 1.0 To: freebsd-pf@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=fsecure engine=1.12.7400:2.4.4, 1.2.40, 4.0.166 definitions=2009-03-28_05:2009-03-27, 2009-03-28, 2009-03-27 signatures=0 X-Proofpoint-Spam-Details: rule=uncdefault_notspam policy=uncdefault score=0 spamscore=0 ipscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=5.0.0-0811170000 definitions=main-0903280056 Subject: pftop queue stats 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: Sat, 28 Mar 2009 14:38:04 -0000 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. --Jay.