From owner-freebsd-questions Wed Mar 13 21:43:28 2002 Delivered-To: freebsd-questions@freebsd.org Received: from fedde.littleton.co.us (cfedde.dsl.frii.net [216.17.139.141]) by hub.freebsd.org (Postfix) with ESMTP id 5AB4B37B402 for ; Wed, 13 Mar 2002 21:43:26 -0800 (PST) Received: from fedde.littleton.co.us (localhost [127.0.0.1]) by fedde.littleton.co.us (8.12.2/8.12.2) with ESMTP id g2E5hPCx061612; Wed, 13 Mar 2002 22:43:25 -0700 (MST) Message-Id: <200203140543.g2E5hPCx061612@fedde.littleton.co.us> To: Nathan Mace Cc: freebsd-questions@FreeBSD.ORG Subject: Re: measuring apache In-Reply-To: <200203140525.AAA20536@uce55.uchaswv.edu> From: Chris Fedde Date: Wed, 13 Mar 2002 22:43:25 -0700 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Thu, 14 Mar 2002 00:21:09 -0500 Nathan Mace wrote: +------------------ | is there some way to have apache log the amount of data that it serves out? | what would be the best would if it could log it in a seperate file from the | regular logs, and somehow keep a running total of how much data it is servin g | out on a daily or weekly basis. i've done a little googling and i flipped | though my apache o'reilly book, but didn't find anything. can one of you | guys point me in the right direction? thanks +------------------ The common log format includes the number of non-header bytes transfered as the last component of the line. You could use one of the web log analyzers available in the ports collection to report on this data or you could roll your own script to do it. YMMV -- Chris Fedde To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message