Skip to content

Instantly share code, notes, and snippets.

@richardqin
richardqin / monitor with stub moduel
Created March 25, 2012 12:37
monitor the status of nginx
location /nginx_status {
stub_status on;
access_log off;
allow 192.168.1.1;
deny all;
}
active connections:nginx 正处理的活动连接数 20个。
server accepts handled requests:nginx启动到现在共处理了 200个连接 , 成功创建 200 次握手 一般跟第一个一样,差值为请求丢失数。
reading :nginx 读取到客户端的 Header 信息数。