Te状态检查

来源:互联网 发布:打印发货单软件 编辑:程序博客网 时间:2024/06/10 11:26

同样是编辑Tengine的配置文件

vi   /usr/local/nginx/conf/nginx.conf

在原来的location上面加入另外一个location结果如下。

location /status{
        stub_status on;
        }


        location / {
            root   html;
            index  index.html index.htm;
       }

在网页上输入http://192.168.65.5/status

出现如下的结果

Active connections: 2 server accepts handled requests request_time 4 4 3 0Reading: 0 Writing: 1 Waiting: 1 

0 0
原创粉丝点击