Apache top is a curses-based realtime 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.
Install apachetop in Debian
#apt-get install apachetop
This will complete the installation
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
Apachetop Output looks like below
If you want more details about apachetop check apachetop man page