View Nginx Server Status configuration by browser

Source: Internet
Author: User
Tags nginx server

View Nginx Server Status configuration by browser submission: Junjie font: [Increase decrease] Type: Reproduced this article mainly introduces the browser view Nginx server state configuration method, this article explains the configuration method of opening Nginx-status, And the parameters of the server to do a detailed explanation, the need for friends can refer to the nextCopy CodeThe code is as follows:
Location/nginx-status {
Stub_status on;
#access_log/var/log/nginx/mmt_nginx_status.log;
Access_log off;
Allow 192.168.0.10;
Deny all;
#auth_basic "Nginxstatus";
}

Visit url:http://192.168.0.11/nginx-status

Results:

Copy CodeThe code is as follows:
Active connections:178
Server accepts handled requests
102547 102547 206588
reading:0 writing:38 waiting:140


Analytical:

Active connections: The number of active connections initiated against the backend (server).
The Server accepts handled Requests:nginx processed a total of 102,547 connections, successfully created 102,547 handshakes (proving that there was no intermediate failure) and processed 206,588 requests (averaging 29884/15392 per handshake) 1.94 data requests).
Reading:nginx the number of header messages read to the client.
Writing:nginx the number of header information returned to the client.
Waiting: When Keep-alive is turned on, this value equals active– (reading + writing), meaning that Nginx has finished processing and is waiting for the next request instruction to reside in the connection.
Therefore, in the case of high access efficiency, the request is processed quickly, the number of waiting is more normal. If the number of reading + writing is high, then the concurrent traffic is very large and is in process.
Finish

View Nginx Server Status configuration by browser

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.