nginx的stub_status状态信息解释
来源:互联网 发布:仓库管理优化方案 编辑:程序博客网 时间:2024/05/17 08:23
[WEB] nginx的stub_status状态信息解释
一、加载http_stub_status模块
[root@10.10.90.97 ~]# ./configure --prefix=/usr/local/nginx --with-http_stub_status_module[root@10.10.90.97 ~]# make && make install
二、修改nginx配置文件
location /NginxStatus {
stub_status on;
access_log on;
auth_basic "NginxStatus";
auth_basic_user_file htpasswd;
}
[root@10.10.90.97 ~]# htpasswd -c /usr/local/nginx/conf/htpasswd nginx_focus #连续输入两次密码
New password:
Re-type new password:
Adding password for user nginx_focus重新加载nginx.conf:[root@10.10.90.97 ~]# kill -USR1 `cat /usr/local/nginx/logs/nginx.pid`
三、打开nginx的stub_status可以通过页面链接看到如下信息:
server accepts handled requests
1749 1749 3198
Reading: 0 Writing: 3 Waiting: 142参数详解: Active connections:145
#nginx 正处理的活动连接数145个。
server accepts handled requests
1749 1749 3198
#nginx启动到现在共处理了 1749个连接 ,nginx启动到现在共成功创建 1749次握手 请求丢失数=(握手-连接),可以看出,我们没丢请求;总共处理了3198 次请求。
Reading: 0 Writing: 3 Waiting: 142
#Reading :nginx读取到客户端的Header信息数。
#Writing : nginx返回给客户端的Header信息数。
#Waiting : Nginx已经处理完正在等候下一次请求指令的驻留连接.开启keep-alive的情况下,这个值等于active–(reading+writing)。转自:http://www.cnblogs.com/derekchen/archive/2012/04/01/2429397.html
- nginx的stub_status状态信息解释
- nginx stub_status 监控模块
- Nginx 开启 stub_status 模块监控
- Nginx 开启 stub_status 模块监控
- Nginx 开启 stub_status 模块监控
- Innodb状态信息解释
- ubuntu rebuild nginx to add stub_status module
- nginx 升级并编译stub_status属性
- nginx开启stub_status模块配置方法
- Nginx.conf 中状态信息
- nginx status 状态信息查看
- Nginx状态信息(status)配置及信息详解
- http的状态码解释
- TCP close_wait 状态的解释
- TCP close_wait 状态的解释
- 磁盘组状态的解释
- TCP close_wait 状态的解释
- 配置nginx状态信息的代码,就是往nginx_vhosts.conf中添加如下内容
- 在路上。。。
- 如何用java命令制作jar包,以及如何引用第三方jar包
- 集合A-B--二分查找
- 一种快速求点到线段距离的算法
- 仿液晶数字显示
- nginx的stub_status状态信息解释
- 解决滚屏背景/拼接地图有黑边(缝隙)
- 第六周项目一(二)
- 提升GraphicsMagick图片压缩软件性能使用心得
- xcode 4.5 new feature __ ios6 新特性
- 文本工具
- 计算几何专项:UVa 10969
- 子弹跟踪算法
- Higher Math