apachetop: Monitoreando apache en tiempo real.
↳ $ date | cat c4t3g0ry;
- - Publicado el 20/08/2014 | Esto es sobre: Unix/Linux Sys.Admin

Esta herramienta de monitoreo hace una buena combinación con watch que lo uso para ver conexiones en tiempo real de MySQL, y nload la cual me permite monitorear banda ancha desde la terminal.
La instalación puede ser mediante un yum install, tiene diferentes atributos:
root@asgard [~]$ apachetop -h
ApacheTop v0.12.6 - Usage:
File options:
-f logfile open logfile (assumed common/combined) [/var/log/httpd/access_log]
(repeat option for more than one source)
URL/host/referrer munging options:
-q keep query strings [no]
-l lowercase all URLs [no]
-s num keep num path segments of URL [all]
-p preserve protocol at front of referrers [no]
-r resolve hostnames/IPs into each other [no]
Stats options:
Supply up to one of the following two. default: [-T 30]
-H hits remember stats for this many hits
-T secs remember stats for this many seconds
-d secs refresh delay in seconds [5]
-h this help
Compile Options: -HAVE_KQUEUE +HAVE_FAM +ENABLE_PCRE
Polling Method: fam
root@asgard [~]$
Por lo general yo lo uso de la siguiente forma:
root@asgard [~]$ apachetop -r 1 -f /usr/local/apache/logs/access_log
Saludos.
