On 2007.04.11, John Buckman <[EMAIL PROTECTED]> wrote:
> By this, I mean, timing the start/stop time of every page, logging  
> it, and then running a bit of analysis to find out what pages are the  
> slowest running and which pages are the most commonly loaded, then  
> multiplying the two (ie execution time x requests per day=total  
> machine load per page per day)
...
> One efficient alternative I was thinking about would be to patch  
> ns_log to include both the start request time, and the time the page  
> was returned, in the log.

Already done, see "logreqtime" config parameter:

    http://aolserver.com/sf/cvs/*checkout*/aolserver/nslog/nslog.html

    logreqtime  boolean  false  Compute the number of seconds and
                                microseconds to service the request,
                                expressed as "sec.usec".

Yes, it's very handy information.  :-)

-- Dossy

-- 
Dossy Shiobara              | [EMAIL PROTECTED] | http://dossy.org/
Panoptic Computer Network   | http://panoptic.com/
  "He realized the fastest way to change is to laugh at your own
    folly -- then you can let go and quickly move on." (p. 70)


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> 
with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: 
field of your email blank.

Reply via email to