There is number of tools available to monitor apache in realtime. Like Nagios,Cacti etc. But those tools are little difficult to configure for the first time (Experts Please excuse :-) ). Here I would like to introduce couple of simple tools which help the Webserver admin to monitor his Apache webserver in real time through Web and Console.
Status Module is a builtin module for apache for a default installation. First checkout whether this module is compiled with your Apache.
[firstname.lastname@example.org] cat /etc/httpd/conf/httpd.conf | grep status_module
LoadModule status_module modules/mod_status.so
Make sure this line was not comment out. OK,Lets take the backup of your current configuration file
[email@example.com]cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf_backup
Goto Last Line and Paste the following
Allow from all
Search for the Line "ExtendedStatus". Normally this line is commented out. Uncomment it.
Save and Exit
Take your browser. http://your.domain.com/server-status
Take a look at the values,Its Realtime values from the Apache. To view this page continuously,I mean refreshing automatically
(This N is any number).