From owner-freebsd-stable Sat Nov 4 7:42:37 2000 Delivered-To: freebsd-stable@freebsd.org Received: from salmon.maths.tcd.ie (salmon.maths.tcd.ie [134.226.81.11]) by hub.freebsd.org (Postfix) with SMTP id A680C37B4CF for ; Sat, 4 Nov 2000 07:42:34 -0800 (PST) Received: from walton.maths.tcd.ie by salmon.maths.tcd.ie with SMTP id ; 4 Nov 2000 15:42:33 +0000 (GMT) Date: Sat, 4 Nov 2000 15:42:33 +0000 From: David Malone To: noor@comrax.com Cc: freebsd-stable@FreeBSD.ORG Subject: Re: Log total bandwidth used. Message-ID: <20001104154233.A51080@walton.maths.tcd.ie> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from noor@comrax.com on Sat, Nov 04, 2000 at 11:36:09AM +0200 Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Sat, Nov 04, 2000 at 11:36:09AM +0200, noor@comrax.com wrote: > Using ipfw, is there a way to add a rule to compute all bandwidth used > during one day? The rule would just compute the bandwidth, then move on > to the next rule. You could just add a rule which says "count ip from any to any" and look at the byte counts each day with "ipfw show". (Just a niggly thing, but bandwidth is usually measured in something like bytes/second, so "all the bandwidth used during one day" doesn't make so much sense. You probably mean "the average bandwidth used during the day" or "the total volume transfered during the day"). David. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message