ngxtop小工具,实时监控nginx状态

编译

wget https://github.com/lebinh/ngxtop/archive/master.zip -O ngxtop-master.zip

# unzip ngxtop-master.zip
# cd ngxtop-master
#python setup.py install

安装可能会报错是缺少setuptools-0.6c11.tar.gz 

wget http://pypi.python.org/packages/source/s/setuptools/setuptools-0.6c11.tar.gz

解压

python setup.py build

python setup.py install

安装即可

ngxtop -t 1 -l /var/log/nginx/access.log

wKioL1O6rhXhw09dAAL3T2LqG8k892.jpg

wKiom1O6rkTTDU0GAAI7inTCipk008.jpg





你可能感兴趣的:(nginx,Web,ngxtop)