From owner-freebsd-questions Tue Jul 22 07:46:07 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id HAA02441 for questions-outgoing; Tue, 22 Jul 1997 07:46:07 -0700 (PDT) Received: from leaf.lumiere.net (j@leaf.lumiere.net [204.188.120.30]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id HAA02435 for ; Tue, 22 Jul 1997 07:46:01 -0700 (PDT) Received: from localhost (j@localhost) by leaf.lumiere.net (8.8.6/8.8.5) with SMTP id HAA27605; Tue, 22 Jul 1997 07:45:47 -0700 (PDT) Date: Tue, 22 Jul 1997 07:45:46 -0700 (PDT) From: Jesse To: Gary Schrock cc: freebsd-questions@FreeBSD.ORG Subject: Re: bandwidth monitoring? In-Reply-To: <3.0.3.32.19970721211937.006baff4@eyelab.msu.edu> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Mon, 21 Jul 1997, Gary Schrock wrote: > I'm looking for something that will allow me to monitor the amount of > bandwidth being consumed by a machine. Any ideas? (Basically I need to > know the Kbit/s traffic on a machine, and the only machine that I really > have access to is the machine I want to monitor) Here's a nice simple way I use: netstat 1 It gives me output like this (with 1 being 1 byte): input (Total) output packets errs bytes packets errs bytes colls 16 0 1685 9 0 619 0 8 0 615 6 0 452 0 16 0 1117 9 0 654 0 39 0 3099 52 0 3516 0 25 0 1919 24 0 1669 0 27 0 2064 20 0 1537 0 11 0 1469 9 0 660 0 Good luck. Jesse Shrieve j@lumiere.net