in reply to Re: CPU Usage by VirtualHost
in thread CPU Usage by VirtualHost

My client wants to collect statistics about the cpu usage based on the VirtualHost making the request on his server(s)

Replies are listed 'Best First'.
Re^3: CPU Usage by VirtualHost
by moritz (Cardinal) on Jun 09, 2007 at 09:09 UTC
    But you are trying to measure the CPU usage at the time of the request, not the CPU usage of that a specific request used up.

    To measure that you'd need a process specific or even thread specific clock, depending on which apache worker model you use.