apacheTop

1、监控 httpd 请求数据,请求统计

 

 apachetop -f /var/www/access_log

 2、

  

apachetop -H hits  (Will display stats on the last x number of hits)

apachetop -T secs  (Will display stats on the last x number of seconds)

3、安装:

   

1、sudo apt-get install apachetop

2、
wget http://www.webta.org/apachetop/apachetop-0.12.6.tar.gz

yum install readline-devel

yum install ncurses-devel

tar xvzf apachetop-0.12.6.tar.gz

cd apachetop-0.12.6

./configure

make

3、
wget http://www.webta.org/apachetop/apachetop-0.12.6.tar.gz

sudo apt-get install ncurses-dev

sudo apt-get install libreadline5-dev

tar xvzf apachetop-0.12.6.tar.gz

cd apachetop-0.12.6

./configure

make

猜你喜欢

转载自www.cnblogs.com/cbugs/p/11607402.html