- Debian Admin - http://www.debianadmin.com -
Realtime Apache monitoring with apachetop
Posted By Admin On 19th March 2007 @ 08:58 In Webserver | No Comments
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
Tags: apache monitor, apache real time monitor, apachetop, apachetop debian, apachetop man page, install apachetop debian, webserverYou may also be interested in...
Article printed from Debian Admin: http://www.debianadmin.com
URL to article: http://www.debianadmin.com/realtime-apache-monitoring-with-apachetop.html
Click here to print.