Debian Admin - Your way to Debian World

March 19, 2007

Realtime Apache monitoring with apachetop

by @ 8:58 am. Filed under Webserver

If you're new here, you may want to subscribe to my RSS feed. Thanks for visiting!

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

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: , , , , , ,

You may also be interested in...

Leave a Reply

Subscribe RSS Feed

subscribe to the Debian Admin RSS feed

Internal links:

Sponsors:



Categories:

Support Debian Admin

Amount $:
Website(Optional):

Sponsors:

Archives:

WidgetBucks - Trend Watch - WidgetBucks.com

Related Links:


WidgetBucks - Trend Watch - WidgetBucks.com

Favourite Sites:

Wordpress Collection
Windows Reference
Ubuntu Geek
DebianHelp
All About Debian Tutorials
Power Electrical
Check Your IP Here
Debian,Ubuntu News
DebCentral
Tuxmachines
Capnkirby
Libervis
Nuxifield
Linux Horizon
Linux Appfinder
Debuntu
GNU/Linux For Everyone
Free Penguin
DebianAdmin is not related to the Debian Project.
This site is copyright © 2006,2007 Debian Admin
All Trademarks are the property of their respective owners.
The contents of this website may not be mirrored or archived without the express written permission of DebianAdmin Site Owner.

DISCLAIMER: All the information, troubleshooting methods, utilities offered in this website is provided AS-IS, without any warranties. Though I strive for perfection, and always test the validity and effectiveness of the troubleshooting content in various systems, I assume no responsibility for your use of these Fixes, Utilities and other troubleshooting advice. The author will not be liable for any special, incidental, consequential or indirect damages due to loss of data or any other reason. All use is completely at your own risk. Changes to the existing content and new additions are made to this website periodically, without notification.
Rodney's Kontera DynamiContext Plugin plugged in.