From owner-freebsd-questions@FreeBSD.ORG Sat Apr 10 13:33:19 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 919ED16A4CE for ; Sat, 10 Apr 2004 13:33:19 -0700 (PDT) Received: from fwall.in.markiza.sk (fwall.in.markiza.sk [62.168.76.18]) by mx1.FreeBSD.org (Postfix) with ESMTP id 546F943D39 for ; Sat, 10 Apr 2004 13:33:19 -0700 (PDT) (envelope-from corwin@pleiades.aeternal.net) Received: from pleiades.aeternal.net (pleiades.in.markiza.sk [192.168.13.7]) by fwall.in.markiza.sk (Postfix) with ESMTP id CBF2A2304E; Sat, 10 Apr 2004 22:33:20 +0200 (CEST) Received: from pleiades.aeternal.net (localhost [127.0.0.1]) by pleiades.aeternal.net (Postfix) with ESMTP id F04251703C; Sat, 10 Apr 2004 22:34:11 +0200 (CEST) Received: (from corwin@localhost) by pleiades.aeternal.net (8.12.10/8.12.10/Submit) id i3AKYBw2020356; Sat, 10 Apr 2004 22:34:11 +0200 (CEST) (envelope-from corwin) Date: Sat, 10 Apr 2004 22:34:11 +0200 From: Martin Hudec To: Dragoncrest Message-ID: <20040410203411.GC20062@pleiades.aeternal.net> References: <200404102020.i3AKKLfb007744@mail5.mx.voyager.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200404102020.i3AKKLfb007744@mail5.mx.voyager.net> X-Copyright: (C) 2004 Martin Hudec X-Operating-System: FreeBSD pleiades.aeternal.net 5.2.1-RELEASE-p4 i386 X-PGP-Key: http://www.aeternal.net/corwin_aeternal.asc User-Agent: Mutt/1.5.6i cc: freebsd-questions@freebsd.org Subject: Re: Bandwidth tracking/monitoring on Freebsd X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Martin Hudec List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Apr 2004 20:33:19 -0000 Hello, There is MRTG (/usr/ports/net-mgmt/mrtg) for constant monitoring of inbound/outbound traffic, data are also available in graph format. Or you can try ntop (/usr/ports/net/ntop). Or you can write your own script analyzing data from ipfw counting :). I use mrtg and ntop for monitoring of my bandwith, and management is satisfied with both. There are more tools, maybe others might point you to them. Cheers, Martin On Sat, Apr 10, 2004 at 04:20:21PM -0400 or thereabouts, Dragoncrest wrote: > Hi all. Got a question. I got a box on my network that I'd like to be > able to track bandwidth usage on. Just to see how much traffic is > passing through it in a one month period and daily over a 24 hour > period. Is there some kind of application I can use to log total bytes > sent and total bytes recieved? I don't need to know specifically WHAT > was sent, but rather HOW MUCH of it was sent. IE 6 gigs inbound > traffic, 2 gigs outbound traffic. It's running Freebsd 4.9 right now. > What is the easiest way to do this short of setting up IPFW and doing a > kernel compile and all that nasty stuff. Any suggestions will be welcome. -- Martin Hudec | corwin at aeternal.net | corwin at web.markiza.sk http://www.aeternal.net | cell +421 907 303 393