I wanted to use apachetop to monitor one of my servers in real time. Much like top, apachetop reads the acces_log file in /var/logs/httpd/ and displays the results as apache processes happen.
Rather than installing apachetop from source, I thought a simple command like
yum install apachetop
should to the trick… but it doesn’t work by default. Now what?
Well an install via yum will only work if it is configured to look in the right repositories. Apachetop however is not part of the standard repos, hence we need to add what’s known as the EPEL package to yum (it stands for Extra Packages for Enterprise Linux).
In this article I’ll show you how to do it and how to run apachetop.