Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
Thanks for your reply. I'll do my best to answer your questions below. > > ipA [31/Mar/2011] "GET /file.jpg HTTP/1.0" 200 42981 > "-" "ApacheBench/2.3" 3560 > > ipB [31/Mar/2011] "GET /file.jpg HTTP/1.0" 200 42981 > "-" "ApacheBench/2.3" 93574 > > > > (the ipA is much "closer" to the server than

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
--- On Thu, 3/31/11, Mark Montague wrote: > > In the access log, what is acctually meassured with > the %D option? > > > > %D The time taken to serve the request, in > microseconds. > > > > but what is included in this time? Is the stopwatch > started when the last byte of the request is receiv

Re: [users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
> From the source code for httpd-2.2.17, > modules/loggers/mod_log_config.c, line 650, %D is: > > apr_time_now() - r->request_time) > > "now" in this context means "the time at which the log line > is being written".  This is after all data has been > sent to the client (logging the amount of dat

[users@httpd] What is %D in access log meassuring?

2011-03-31 Thread Janne H
Hello. In the access log, what is acctually meassured with the %D option? The docs say: %D The time taken to serve the request, in microseconds. but what is included in this time? Is the stopwatch started when the last byte of the request is received and stoped when the first byte of the resp