美文网首页
Nginx模块——ngx_http_stub_status_mo

Nginx模块——ngx_http_stub_status_mo

作者: VictoryKingLIU | 来源:发表于2018-09-17 21:34 被阅读12次

ngx_http_stub_status_module

The ngx_http_stub_status_module module provides access to basic status information

就是提供网站用户接入基本状态的信息

Example Configuration

实例

mystatus是自定义的

This configuration creates a simple web page with basic status data which may look like as follows

basic status

Directives(官方指令/使用方法)

Syntax:stub_status;  (语法)

Default:— (默认没有)

Context:server, location (场景/在……之中)

Data

The following status information is provided:

Active connections

The current number of active client connections including Waiting connections.

当前连接数包括等待的

accepts

The total number of accepted client connections.

总共接入用户数量

handled

The total number of handled connections. Generally, the parameter value is the same as accepts unless some resource limits have been reached (for example, the worker_connections limit).

处理连接的总数

requests

The total number of client requests.

用户请求总数

Reading

The current number of connections where nginx is reading the request header.

nginx正在读取请求标头的当前连接数。

Writing

The current number of connections where nginx is writing the response back to the client.

nginx将响应写入客户端的连接的当前数量

Waiting

The current number of idle client connections waiting for a request.

等待请求的空闲客户端连接的当前数量。

相关文章

  • Nginx模块——ngx_http_stub_status_mo

    ngx_http_stub_status_module Thengx_http_stub_status_modul...

  • 6.Nginx模块学习方法

    Nginx模块 Nginx模块分为 Nginx官方模块 和 第三方模块 , 这里我们拿Nginx官方模块来介绍一下...

  • Nginx核心模块以及指令介绍

    Nginx模块概览 Nginx核心模块以及指令介绍 注意:Nginx的核心模块包含主模块和事件模块,即上图的cor...

  • 应用运维面试核心

    面试题 Nginx模块 你以前用过哪些Nginx模块? upstream 是Nginx负载均衡模块 image ...

  • nginx内核原理

    Nginx的模块 Nginx由内核和模块组成。 Nginx的模块从结构上分为核心模块、基础模块和第三方模块: 核心...

  • nginx 源代码分析 (二)

    1. nginx模块 nginx的功能分布在nginx模块中,一个模块为一个功能单元。每个nginx模块都专注于自...

  • nginx 动态添加模块

    需要用到nginx的tcp模块,以前安装的nginx没有这个模块。 ./nginx -V 可以看到所有包含的模块(...

  • 8.nginx模块介绍

    nginx的模块 1.编译进nginx的模块2.提供那些配置3.模块合适被使用4.提供那些变量 查找nginx模块...

  • nginx 2

    1 nginx 常用模块整理 nginx 常用模块整理1 http核心模块 ngx_http_core_modu...

  • centos7 使用nginx上传文件

    安装nginx以及nginx-upload-module模块 下载nginx源码,添加模块只支持源码编译:wget...

网友评论

      本文标题:Nginx模块——ngx_http_stub_status_mo

      本文链接:https://www.haomeiwen.com/subject/fbbdnftx.html