From owner-freebsd-questions@FreeBSD.ORG Fri Nov 12 22:50:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 52D4C16A4CE for ; Fri, 12 Nov 2004 22:50:00 +0000 (GMT) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2D9F43D46 for ; Fri, 12 Nov 2004 22:49:59 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.1/8.13.1) id iACMnuU1006904; Fri, 12 Nov 2004 16:49:56 -0600 (CST) (envelope-from dan) Date: Fri, 12 Nov 2004 16:49:56 -0600 From: Dan Nelson To: Tim Traver Message-ID: <20041112224956.GD37496@dan.emsphone.com> References: <41952399.7080706@simplenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <41952399.7080706@simplenet.com> X-OS: FreeBSD 5.3-STABLE X-message-flag: Outlook Error User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Simple Network Traffic script X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 22:50:00 -0000 In the last episode (Nov 12), Tim Traver said: > ok, this may be a dumb question, but does anyone know where I can > find a simple script that shows the network traffic to and from your > local box ? > > using netstat -i 5, can see the traffic over 5 seconds, but then I > need to do a bunch of calculations to try and get a reasonable > number. If you're not looking for traffic counts over 5-second periods, what exactly are you looking for? trafshow is nice for quickly determining who is eating your bandwidth, if that's your intent. -- Dan Nelson dnelson@allantgroup.com