Realtime Apache monitoring with apachetop
Posted by Admin on March 19th, 2007
If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!
Install apachetop in Debian
#apt-get install apachetop
This will complete the installation
Using apachetop
By default Apachetop will use your log in /var/log/apache/access.log, but you can add a -f flag to the command and point it to wherever your apache log really is if you moved it.
If you try the following command
#apachetop
It will give you the following error
opening /var/log/apache/access.log: No such file or directory
No input files could be opened
Because By default debian,Ubuntu Apache2 logs are located at var/log/apache2/access.log you can specify this using the following command.Your apache logs are in different location you can specify that path.
#apachetop -f /var/log/apache2/access.log
Apachetop Output looks like below

If you want more details about apachetop check apachetop man page

