How to Monitor Apache Web Server Load and Page Statistics
Apache HTTP web server which can make a System Administrators life much easier to handle load
of Apache web server using mod_status module.
What is mod_status?
mod_status is an Apache module which helps to monitor web server load and current httpd
connections with an HTML interface which can be accessible via a web browser.
Apache’s mod_status shows a plain HTML page containing the information about current statistics of
web server state including.
1. Total number of incoming requests
2. Total number of bytes and counts server
3. CPU usage of Web server
4. Server Load
5. Server Uptime
6. Total Traffic
7. Total number of idle workers
8. PIDs with respective client and many more.
How to Enable mod_status in Apache
The default Apache installation comes with mod_status enabled. If not, make sure to enable it in
Apache configuration file at.
# vim /etc/httpd/conf/httpd.conf
LoadModule status_module modules/mod_status.so
Deny from all
Allow from all
The “ExtendedStatus” settings adds more information to the statistics page like, CPU usage, request
per second, total traffic, etc. To enable it, edit the the same httpd.conf file and search for the word
“Extended” and Uncomment the line and set the status “On” for ExtendedStatus directive.
#service httpd restart
Access mod_status Page
http://serveripaddress/server-status or http://serveripaddress/server-status/?