From owner-freebsd-questions@FreeBSD.ORG Thu Mar 4 01:34:40 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 6543616A4CE for ; Thu, 4 Mar 2004 01:34:40 -0800 (PST) Received: from mout.perfora.net (mout.perfora.net [217.160.230.40]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2692743D4C for ; Thu, 4 Mar 2004 01:34:40 -0800 (PST) (envelope-from roop@hqst.com) Received: from [217.160.230.50] (helo=smtp.perfora.net) by mout.perfora.net with esmtp (Exim 3.35 #1) id 1AypF9-0007ke-00; Thu, 04 Mar 2004 04:34:15 -0500 Received: from [24.82.166.192] (helo=hqst.com) by smtp.perfora.net with asmtp (Exim 3.35 #1) id 1AypF9-0002lx-00; Thu, 04 Mar 2004 04:34:15 -0500 Message-ID: <4046F822.9090606@hqst.com> Date: Thu, 04 Mar 2004 01:34:26 -0800 From: Roop Nanuwa User-Agent: Mozilla Thunderbird 0.5+ (Windows/20040220) X-Accept-Language: en-us, en MIME-Version: 1.0 To: ben@lanwest.com.au References: <40467A74.1060107@hqst.com> <4046EE6B.6080207@lanwest.com.au> In-Reply-To: <4046EE6B.6080207@lanwest.com.au> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: Free BSD Questions list Subject: Re: Monitoring bandwidth usage by user 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: Thu, 04 Mar 2004 09:34:40 -0000 Benjamin Meade wrote: > Roop Nanuwa wrote: > >> Hello all, >> Is there any way to get live (or even just logged) monitoring >> of bandwidth >> usage by user instead of just an aggregate amount for the entire >> machine/interface? > > > Squid can do it. There are quite a few perl scripts that can build a > webpage from the log files and show you nice pretty graphs and such. > > This is assuming that by user you mean machines that are accessing the > net through a gateway. > Actually, no. These are all users who are logged into a single box (they have shell accounts). I wanted to monitor each user's bandwidth usage individually to prevent abuse. --roop