Sometimes you need to have a look at Apache status, especially, if your server serves many users and if often busy. You should monitor you server’s CPU load, and view other Apache performance information.
There is a simple solution in httpd.conf, that allows you to do this directly from your browser. All you need is just to add some lines to your configuration file. First of all, you should have the following sting, that makes this possible:
LoadModule status_module modules/mod_status.so
Usually at the bottom of the httpd.conf you can find some lines about server status. Let’s take the comments off.
ExtendedStatus On
This will show you more information, it’s what you exactly need. You don’t have to make this information public, but it will be very informative and useful for you. Then go down and add these lines:
<Location /server-status>
SetHandler server-status
</Location>
This URL will be relative to your Servername, so make sure you have set it up. You also should protect this location just as shown in the sample httpd.conf:
# Order deny,allow
# Deny from all
# Allow from .example.com
Just add your own limits and have fun! Apache visualization is done!
Pingback: How to Find Which Script Causes Most Apache Load | LAMPdocs: Linux, Apache, MySQL, PHP