Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Mar 2002 22:43:25 -0700
From:      Chris Fedde <chris@fedde.littleton.co.us>
To:        Nathan Mace <nmace85@yahoo.com>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: measuring apache 
Message-ID:  <200203140543.g2E5hPCx061612@fedde.littleton.co.us>
In-Reply-To: <200203140525.AAA20536@uce55.uchaswv.edu> 

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203140543.g2E5hPCx061612>