From owner-freebsd-net@FreeBSD.ORG Mon Jan 17 22:08:34 2005 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C1B4116A4CE for ; Mon, 17 Jan 2005 22:08:34 +0000 (GMT) Received: from borgtech.ca (borgtech.ca [216.187.106.216]) by mx1.FreeBSD.org (Postfix) with ESMTP id 85B8743D1F for ; Mon, 17 Jan 2005 22:08:34 +0000 (GMT) (envelope-from asegu@borgtech.ca) Received: from asegulaptop (unknown [161.53.212.129]) by borgtech.ca (Postfix) with ESMTP id E31F154A5; Mon, 17 Jan 2005 22:12:27 +0000 (GMT) From: "Andrew Seguin" To: Date: Mon, 17 Jan 2005 23:07:54 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 In-Reply-To: X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcT80LFoSUWCz4YPSgGiCtgrIeCPngABe3yQAAAREfAAAeSOwAAALzNQ Message-Id: <20050117221227.E31F154A5@borgtech.ca> cc: "'Mitch \(Bitblock\)'" Subject: RE: Network accounting X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 17 Jan 2005 22:08:34 -0000 -----Original Message----- From: Mitch (Bitblock) [mailto:mitch@bitblock.com] Sent: Monday, January 17, 2005 10:51 PM To: 'Andrew Seguin'; freebsd-net@freebsd.org Subject: RE: Network accounting [Mitch says:] you could also use a simple PERL program to parse the output from your ipfw counter list.... Call it on a cron - keep in mind how quick the counters can roll over depending on how fast the interfaces are. m/ With the help, in pointing out the mask feature to me from Jon Simola, this quite possibly might be the path I'll take (I'll sleep on it first). I already have a daily cron job set at 11:59PM, dumping (and then zeroing) IPFW's state to a text file, which is then parsed and appended to a CSV file. This will simply require me to expand the parsing, and that's not all that bad, just a bit of work tomorrow. Interfaces are 100Mbps, but our internet is about 50Mbps total I believe (still have yet to get hard facts from people here). With our daily traffic, we see always 80GB total daily... but I'll keep hourly accounting in mind. I'm very thankful to you all, Once again this list has been of great help and a great blessing, Thank you! :) Andrew -- No virus found in this outgoing message. Checked by AVG Anti-Virus. Version: 7.0.300 / Virus Database: 265.6.13 - Release Date: 1/16/2005