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 Link to comment https://forums.phpfreaks.com/topic/34541-shell-command-for-apache-status/ 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 Link to comment https://forums.phpfreaks.com/topic/34541-shell-command-for-apache-status/#findComment-162715 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? Link to comment https://forums.phpfreaks.com/topic/34541-shell-command-for-apache-status/#findComment-162844 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 Link to comment https://forums.phpfreaks.com/topic/34541-shell-command-for-apache-status/#findComment-163038 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.