httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joshua Slive" <jos...@slive.ca>
Subject Re: [users@httpd] Intercepting request and processing time
Date Wed, 26 Apr 2006 19:16:12 GMT
On 4/26/06, Tiago Semprebom <tisemprebom@yahoo.com.br> wrote:
> I'm working with the Apache and I need to tuning some modules of the Apache
> to implement my quality of service policy.
>
> Basically I need to intercept the incoming request, set the timestamp when
> the requests arrive and after they are processed.
>
> so two questions:
>
> 1) - Which Apache module or Apache function is responsable for receive the
> incoming requests?
>
> 2) - Does exist any structure about it or something like this?
>
> Thank's in advance,

See mod_log_config, which has the %D logformat directive to give you
the number of milliseconds taken to serve the request.

If that doesn't give you enough info, you can look at the source code
of the module to see where it gets its information.  If you want to
see a module that acts both at the very beginning and very end of
processing, you can also look at the source for mod_log_forensic.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message