DjNaF Posted January 17, 2007 Share Posted January 17, 2007 hello;i 'v been trying to find a way to get this data for example2 requests currently being processed, 8 idle servers in shell exec, i just care in a way to get number of requests currently being processed!!I can view it in WHM, but i need a command so i include it in PHP script.Thank you all Quote Link to comment Share on other sites More sharing options...
steviewdr Posted January 17, 2007 Share Posted January 17, 2007 Dont think there is. You would need to load mod_status ( AddModule mod_status.c ) for a start. Then get php to parse out what you need from the webpage generated.-steve Quote Link to comment Share on other sites More sharing options...
DjNaF Posted January 17, 2007 Author Share Posted January 17, 2007 whats the code to load this module? Quote Link to comment Share on other sites More sharing options...
steviewdr Posted January 17, 2007 Share Posted January 17, 2007 Just simply uncomment AddModule mod_status.c from the httpd.conf on windows.Then go http://localhost/apache-statusIm not 100% sure on the above url to access the stats from localhost. I suggest google to confirm.-steve Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.