首页 > Web开发 > 详细

apacheTop

时间:2019-09-29 13:59:22      阅读:79      评论:0      收藏:0      [点我收藏+]

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

 

apacheTop

原文:https://www.cnblogs.com/cbugs/p/11607402.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!