From owner-freebsd-questions Mon Jul 21 23:11:41 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id XAA08844 for questions-outgoing; Mon, 21 Jul 1997 23:11:41 -0700 (PDT) Received: from mail.island.net.au (mail.island.net.au [203.102.137.3]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id XAA08839 for ; Mon, 21 Jul 1997 23:11:31 -0700 (PDT) Received: from scotland.island.net.au (scotland.island.net.au [203.102.137.2]) by mail.island.net.au (8.8.3/8.8.3) with SMTP id QAA20789; Tue, 22 Jul 1997 16:10:32 +1000 (EST) Message-Id: <3.0.1.32.19970722161031.006f1434@mail.island.net.au> X-Sender: hugh@mail.island.net.au X-Mailer: Windows Eudora Light Version 3.0.1 (32) Date: Tue, 22 Jul 1997 16:10:31 +1000 To: John-David Childs From: Hugh Blandford Subject: Re: bandwidth monitoring? Cc: freebsd-questions@FreeBSD.ORG In-Reply-To: References: <3.0.3.32.19970721211937.006baff4@eyelab.msu.edu> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-freebsd-questions@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk It depends on what you want to do, but there is a utility that runs as a daemon using the bpf and gives you the number of bytes to and from which IP address and port number. You can use an input file for your requirements. I use it to monitor the amount of traffic that flows to and from a particular C class and some of my own IP addresses. You can run a particular command and it writes the count out to file in a tab delimited format. The package also comes with trafshow which allows you to see what is flowing over the network. I got it from: ftp://ftp.freebsd.org/pub/FreeBSD/incoming/bpft-2.0.tgz Regards, Hugh Blandford. At 21:32 21/07/97 -0600, you wrote: >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) > >MRTG 2.4 is in the ports collection.