Measuring response time Apache request

2011-05-24 Thread marco
Hi all, I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). Any idea? Thanks

Re: Measuring response time Apache request

2011-05-24 Thread Adam Prime
On 11-05-24 11:30 AM, marco wrote: Hi all, I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). Any idea? Thanks I'm pretty sure there are messages buried in the archives (from torsten) showing how to do this with $r->push

Re: Measuring response time Apache request

2011-05-24 Thread marco
Il 24/05/2011 17.35, Adam Prime ha scritto: On 11-05-24 11:30 AM, marco wrote: Hi all, I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). Any idea? Thanks I'm pretty sure there are messages buried in the archives (from

Re: Measuring response time Apache request

2011-05-24 Thread Torsten Förtsch
On Tuesday, May 24, 2011 17:30:33 marco wrote: > I want to get the response time that Apache spends to serve a request > (from post-read-request phase to the response phase). PerlPostReadRequestHandler "sub {\ use Time::HiRes(); \ use Apache2::Reque

Re: Measuring response time Apache request

2011-05-24 Thread André Warnier
marco wrote: Il 24/05/2011 17.35, Adam Prime ha scritto: On 11-05-24 11:30 AM, marco wrote: Hi all, I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). Any idea? Thanks I'm pretty sure there are messages buried in the ar

Re: Measuring response time Apache request

2011-05-24 Thread Torsten Förtsch
On Tuesday, May 24, 2011 18:20:23 André Warnier wrote: > Is it not easier to just read the Apache access log a posteriori, and > filter the lines which you need ? > With the appropriate LogFormat, you can have the microseconds needed > for each request. With Apache2::ModLogConfig you can even ins

Re: Measuring response time Apache request

2011-05-24 Thread marco
Il 24/05/2011 18.19, Torsten Förtsch ha scritto: On Tuesday, May 24, 2011 17:30:33 marco wrote: I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). PerlPostReadRequestHandler "sub {\ use Time::HiRes();

Re: Measuring response time Apache request

2011-05-24 Thread Torsten Förtsch
On Tuesday, May 24, 2011 19:02:50 marco wrote: > In httpd.conf file I have: > > PerlPostReadRequestHandler Dir::touch #this script is well > executed PerlResponseHandler Dir::timediff#this > handler (below) is not executed!!! perhaps you forgot SetHandler m

Re: Measuring response time Apache request

2011-05-24 Thread marco
Il 24/05/2011 20.11, Torsten Förtsch ha scritto: On Tuesday, May 24, 2011 19:02:50 marco wrote: In httpd.conf file I have: PerlPostReadRequestHandler Dir::touch #this script is well executed PerlResponseHandler Dir::timediff#this handler (below) is not executed!

Re: Measuring response time Apache request

2011-05-24 Thread André Warnier
Torsten Förtsch wrote: On Tuesday, May 24, 2011 18:20:23 André Warnier wrote: Is it not easier to just read the Apache access log a posteriori, and filter the lines which you need ? With the appropriate LogFormat, you can have the microseconds needed for each request. With Apache2::ModLogConf

Re: Measuring response time Apache request

2011-05-24 Thread Cosimo Streppone
On Wed, 25 May 2011 02:20:23 +1000, André Warnier wrote: marco wrote: Il 24/05/2011 17.35, Adam Prime ha scritto: On 11-05-24 11:30 AM, marco wrote: Hi all, I want to get the response time that Apache spends to serve a request (from post-read-request phase to the response phase). Any idea?