15 实时请求信息统计ngxtop

1 安装

https://github.com/lebinh/ngxtop
pip install ngxtop

2 使用

  • 指定配置文件
    ngxtop -c ./conf/nginx.conf
  • 查询状态是200
    ngxtop -c ./conf/nginx.conf --filter 'status == 200'
  • 查询那个ip访问最多
    ngxtop -c ./conf/nginx.conf --group-by remote_addr
posted @ 2021-07-10 21:59  weidalin  阅读(64)  评论(0)    收藏  举报