From owner-freebsd-questions Wed May 29 19:48:37 2002 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 8E7DC37B400 for ; Wed, 29 May 2002 19:48:30 -0700 (PDT) Received: (from dan@localhost) by dan.emsphone.com (8.12.2/8.12.3) id g4U2mTM6063807; Wed, 29 May 2002 21:48:29 -0500 (CDT) (envelope-from dan) Date: Wed, 29 May 2002 21:48:29 -0500 From: Dan Nelson To: Stephen Montgomery-Smith Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Measuring throughput of network Message-ID: <20020530024829.GD78068@dan.emsphone.com> References: <3CF5921C.34EE1888@math.missouri.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <3CF5921C.34EE1888@math.missouri.edu> User-Agent: Mutt/1.3.99i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (May 29), Stephen Montgomery-Smith said: > Is there a way to measure how many bytes go through a network card? So > I type something like > command rl0 > and it replies: > out 134513 bytes > in 45232 bytes > or maybe there is a sysctl variable that does this. netstat -ib. Note that all the numbers wrap at 4gb, so if you're planning on graphing the values, you'll need to make sure your poll period is less than 1/2 your wrap period. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message