From owner-freebsd-questions@FreeBSD.ORG Fri Nov 12 21:20:28 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 D35DC16A51A for ; Fri, 12 Nov 2004 21:20:28 +0000 (GMT) Received: from smtp.nemschoff.com (smtp.Nemschoff.com [64.179.52.42]) by mx1.FreeBSD.org (Postfix) with ESMTP id 34CA643D5C for ; Fri, 12 Nov 2004 21:20:25 +0000 (GMT) (envelope-from MClark@Nemschoff.com) Received: from EMAILSERVER2.nemschoff.com ([10.10.11.20]) by smtp.nemschoff.com with Microsoft SMTPSVC(5.0.2195.6713); Fri, 12 Nov 2004 15:23:21 -0600 Received: by EMAILSERVER2.nemschoff.com with Internet Mail Service (5.5.2653.19) id ; Fri, 12 Nov 2004 15:23:29 -0600 Message-ID: From: Michael Clark To: freebsd-questions@FreeBSD.org Date: Fri, 12 Nov 2004 15:23:29 -0600 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.5.2653.19) Content-Type: text/plain; charset="iso-8859-1" X-OriginalArrivalTime: 12 Nov 2004 21:23:21.0329 (UTC) FILETIME=[D5D95E10:01C4C8FD] cc: Tim Traver 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 21:20:29 -0000 > 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 ? > > 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. > > I looked at ntop, but couldn't get it to work... > > there must be a simpler way... > > Thanks, > > Tim. Iftop and trafshow are also in ports. Both work well. Michael Clark Nemschoff Chairs Inc mclark at nemschoff dot com CompTIA A+, Network+, Server+, MCP Voice: (920) 457 7726 x294 Fax: (920) 453 6594 CONFIDENTIALITY NOTE: This electronic transmission, including all attachments, is directed in confidence solely to the person(s) to whom it is addressed, or an authorized recipient, and may not otherwise be distributed, copied or disclosed. The contents of the transmission may also be subject to intellectual property rights and all such rights are expressly claimed and are not waived. If you have received this transmission in error, please notify the sender immediately by return electronic transmission and then immediately delete this transmission, including all attachments, without copying, distributing or disclosing same.