You will need to use apachectl to get the information you want. This command:
Code:
# /usr/local/apache/bin/apachectl fullstatus
is the exact command that is used by Main >> Server Status >> Apache Status. The WebHost Manager merely executes the above command and sends the output to the browser.
The following command:
Code:
# /usr/local/apache/bin/apachectl status
is equivalent to:
Code:
# /etc/rc.d/init.d/httpd status
The init script, /etc/rc.d/init.d/httpd, merely calls apachectl and passes it the "status" argument.