14.9 Monitoring the IBM HTTP Server
The IBM HTTP Server server-status page is available on all supported IBM HTTP Server platforms. It shows performance data on a Web page in HTML format.
Perform the following steps to activate the server-status page:
1. Open the IBM HTTP Server file httpd.conf in an editor.
2. Remove the comment character "#" from the following lines: #LoadModule status_module modules/mod_status.so
#<Location /server-status>
# SetHandler server-status
# Order deny,allow
# Deny from all
# Allow from .example.com
#</Location>
3. Customize the ".example.com" in the sample configuration to match your source workstation reverse DNS entry so you're allowed to access the page. In our example this must be changed to: Allow from .itso.ibm.com
4. Save the changes and restart the IBM HTTP Server.
5. Open the URL http://<yourhost>/server-status in a Web browser, and click Refresh to update the status. If your browser supports refresh, you can also use the URL http://<yourhost>/server-status?refresh=5 to refresh every 5 seconds. As shown in Figure 14-20, you can see (along with additional information) the number of requests currently being processed, and the number of idle servers.
Figure 14-20 IBM HTTP Server status page