Nginx模块——ngx_http_stub_status_module

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_module)