Home » Centos/RHEL » Apache » How to monitor a website in real-time with apachetop

How to monitor a website in real-time with apachetop

Apachetop is a very helpful application/tool that allows to administrator/webmaster to monitor Apache traffic in real time. Apachetop provide the output that how many requests per second are generating, which files have been opened and how many times. It bassically veiw domain’s log files in same time and display the output. So monitor a website in real-time with apachetop.

Install l Apachetop on Centos 6
#rpm -Uvh http://dl.fedoraproject.org/pub/epel/6/xxx_xx/epel-release-6-8.noarch.rpm
#yum install apachetop

After that perform the below command from root user at bash shell

# apachetop -f /var/log/httpd/domain-access_log

If you have multiple domains and want to monitor multiple domains

#apachetop -f /var/log/httpd/domain1-access_log -f /var/log/httpd/domain2-access_log

Other useful options.
-f
-H
-T

About

I am founder and webmaster of www.linuxpcfix.com and working as a Sr. Linux Administrator (Expertise on Linux/Unix & Cloud Server) and have been in the industry from last 7 years.

Leave a Reply

Your email address will not be published. Required fields are marked *

*
*

Time limit is exhausted. Please reload the CAPTCHA.

Categorized Tag Cloud