From owner-freebsd-questions@FreeBSD.ORG Fri Nov 12 21:40:34 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 5BADE16A4CE for ; Fri, 12 Nov 2004 21:40:34 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.205]) by mx1.FreeBSD.org (Postfix) with ESMTP id CD72F43D53 for ; Fri, 12 Nov 2004 21:40:32 +0000 (GMT) (envelope-from adnichols@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so165117wra for ; Fri, 12 Nov 2004 13:40:32 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=RNzeXVYDRBoLFQAJJjWBl4evc9c7WsfFrKE7OGjO/M54Gy1SCL6SoPVqXmD6F+pAZ0kxSPkkynOEClsyMcr2/HMQpz1ZncE+tSOBWqX+znWVFcBtFdLC2+joEbYYrB5dgvVAzWnzMZBlz7aoLelS6g3Isk/jKeHKqRn7aq24SV8= Received: by 10.54.18.55 with SMTP id 55mr230329wrr; Fri, 12 Nov 2004 13:40:32 -0800 (PST) Received: by 10.54.35.52 with HTTP; Fri, 12 Nov 2004 13:40:32 -0800 (PST) Message-ID: Date: Fri, 12 Nov 2004 13:40:32 -0800 From: Aaron Nichols To: Tim Traver In-Reply-To: <41952399.7080706@simplenet.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <41952399.7080706@simplenet.com> 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 Reply-To: Aaron Nichols List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 12 Nov 2004 21:40:34 -0000 On Fri, 12 Nov 2004 12:56:57 -0800, Tim Traver wrote: > Hi all, > > 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 ? > there must be a simpler way... If you are running 5.3-RELEASE there is systat # systat -ifstat systat exists in 4.x releases but I don't believe it has the -ifstat option. It's only realtime - if you want long-term logging I would suggest either mrtg or better, cacti + rrdtool which is much easier (IMO) to setup (www.raxnet.net) and gives you the flexibility to monitor just about anything. Aaron