Monitoring Apache with apachetop

Valic —  July 21, 2010 — Leave a comment

Article Contents


is a curses-based utility to display information from a running copy of Apache.It is modelled after the standard ‘top’ utility, and displays information such as the requests pers second, bytes per second and the most popular URLs displayed.It must be run from a machine running Apache, as it works by processing the logfiles found in /var/log/apache.

Step 1. Install apachetop

apt-get install apachetop

Step 2. 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:


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


Posts Twitter Facebook

Editor in Chief at Debian-Tutorials, Linux enthusiast.

No Comments

Be the first to start the conversation.

Leave a Reply