Monday, December 3, 2012

IBM HTTP server status monitoring page


Now by enabling server-status on IBM HTTP Server, below details can be obtained :
  • The CPU usage
  • The total number of requests served since the server is up
  • The total traffic size since the server is up
  • Some average about the response time
  • The number of requests currently running
  • The number of idle threads
  • And the list of the requests being processe

To enable the server status monitoring page, perform the following steps:
1. Edit the httpd.conf file, and remove the comment character (#) from the 
following lines in this file:
#LoadModule status_module, modules/ApacheModuleStatus.dll,
#  < Location/server-status >
#SetHandler server-status
# < /Location >

2. Save the changes, and restart IBM HTTP Server.
3. In a web browser, access URL :  http://hostname/server-status. 

Click Reload to update the status. Also , 

http://your_host/server-status?refresh=10 to refresh every 10 seconds

---- courtesy ibm redbook ----