Quoting Olaf Greve who wrote on Fri 2007-05-04 at 00:15:

> 2-How can I inspect exactly what each httpd instance is doing (i.e.  
> which request it is serving)?

Enable mod_status or compile it in and enable server-status in the config
(usually commented-out in the httpd.conf file) and view the resulting
status url. It will show you something quite like:

   Srv PID Acc M CPU SS Req Conn Child Slot Host VHost Request                  
   0-17 18003 0/542/16066 _ 18.38 5 0 0.0 5.44 174.47 87.249.97.178             
   idefix.net GET /server-status HTTP/1.0                                       
   1-17 19911 0/492/16087 _ 18.95 193 0 0.0 4.38 182.34 137.242.1.50            
   www.camp-wireless.org GET /images/tile.jpg HTTP/1.1                          

which will help you correlate PID with vhost and url being visited.

                                                   Koos

-- 
Koos van den Hout                         Homepage: http://idefix.net/~koos/
Fax: +31-30-2817051     PGP keyid DSS/1024 0xF0D7C263 or RSA/1024 0xCA845CB5
Webprojects:              Camp Wireless        http://www.camp-wireless.org/
                      The Virtual Bookcase   http://www.virtualbookcase.com/

Attachment: signature.asc
Description: Digital signature

Reply via email to