ngxtop应用实践
挺实用。。。
- 操作范例
1
/opt/python/bin/ngxtop top remote_addr -c /usr/local/nginx/conf/nginx.conf
1 | /opt/python/bin/ngxtop -c /usr/local/nginx/conf/nginx.conf |
查看前30条
1
/opt/python/bin/ngxtop -n 30 -c /usr/local/nginx/conf/nginx.conf
安装报错
ImportError: No module named ‘config_parser’解决方法
1
2
3git clone https://github.com/lebinh/ngxtop.git
cd ngxtop
pip install .