Navigation
Most popular articles 
- Why in my workgroup user names in statistics and ... (24848 views)
- HP Install Network Printer Wizard 4.0 - Configuring a ... (19770 views)
- How to configure Apache versions 1.3.x - 2.0.x ? ... (18096 views)
- The application failed to initialize properly (0xc0000142). Click on ... (16142 views)
- How to set proxy for my Windows XP computer ... (14363 views)
- Moving XP User Profile (13562 views)
- HP Jetdirect Print Servers - Installing and Configuring a ... (11755 views)
- Windows Vista: SuperFetch and External Memory Devices (9421 views)
- Shutdown is very slow - Windows XP (9108 views)
- Troubleshooting Windows XP Shutdown Issues (7867 views)
Latest articles 
- Error installing agent service causes Access Denied Error (2010-07-10 19:19)
- An error has occurred while establishing a connection from ... (2010-07-10 19:18)
- How do I install Security Tracker TSxx software for ... (2010-07-10 19:17)
- Terminal Server registry settings for applications (2010-07-10 19:15)
- What is riskware? (2010-07-10 19:13)
Sticky articles
HSLAB HTTP Monitor
How to display Apache server status with mod_status
Q. How do I display
Apache server status such as current server activity and performance
under Red Hat Enterprise Linux / UNIX / BSD/Windows?
A. You can use regular Linux / UNIX commands such as lsof, netstat, top, vmstat and others to view apache server activity, status and performance from a shell prompt. However, we're recommend mod_status because it provides good information about Apache server.
mod_status Apache module
There is also mod_status built into Apache web server to get server status from a web browser. With this module you can easily find out how well your server is preforming. All reports are generated in a html format. You can easily find out following type of information:
- Total number of worker serving requests
- Total number of of idle worker
- Find the status of each worker, the number of requests that worker has performed and the total number of bytes served by the worker
- Total number byte count served
- Other information such as CPU usage, number of requests per second,current hosts and requests being processed etc.
How do I configure mod_status to display Apache web server status?
Open your httpd.conf / apache2.conf file:
# vi httpd.conf
Fnd out (append line) that read as follows to allow access from 10.1.2.5 only:
<Location /server-status> SetHandler server-status Order Deny,Allow Deny from all Allow from 10.1.2.5 </Location>
You can also restrict access using a domain name:
<Location /server-status> SetHandler server-status Order Deny,Allow Deny from all Allow from w1.g2.dc3.helpdesk.nixcraft.com </Location>
Save and close the file. Restart web server, enter:
# service httpd restart
Fire a webbrowser and type the url http://your-server-ip/server-status or http://your-corp.com/server-status
Sample Apache Server Status Report
Also you can use the HSLAB HTTP Monitor for advanced visual monitoring? Apache web servers.
With HSLAB HTTP Monitor , administrators always know who is currently connected, server operations distribution, amount of bandwidth being consumed, and number of server requests per unit of time. Since software is server independent, server running on Apache may be located thousands of miles away from where program is installed. Software shows all virtual servers being hosted, statistics for them, and what files or documents are being accessed.
Tags: -
Related entries:
- How to configure Apache versions 1.3.x - 2.0.x ?
- How to configure For Apache versions 2.2.x ?
- What is HSLAB HTTP Monitor?
- What is HSLAB Sys Monitor?
- HSLAB Software Licensing
- HSLAB Shutdown Folder does not shut down a computer or not shut down to a power-off state.
- About Performance Monitoring
- Locating Performance Bottlenecks
- Free Website Monitoring
- How to enter Registration Code?
- How to configure Apache Module mod_status
- How to install and configure mod_status?
- Install mod_status
- Setting mod_status up
- Current Apache status is with the mod_status module
Last update: 2009-04-25 09:50
Author: Oleg
Revision: 1.0
You cannot comment on this entry