How to view Nginx running status and related property description

Source: Internet
Author: User

How to view Nginx running status and related property description.

Need to see if Nginx has loaded the Http_stub_status_module module

/usr/sbin/nginx-v viewing the installation status of Nginx

nginx.conf Add:
Location/status {
Stub_status on;
Access_log off;
}

Access Address: Http://yours/status
You will see the following information:
Active connections:557
Server accepts handled requests
36573075 36573075 43806112
Reading:3 writing:16 waiting:538
which
Active connections-The number of active connections initiated on the backend.
Server accepts handled requests-Nginx handled a total of 36,573,075 connections, successfully created 36,573,075 handshake (equal to the middle without failure), processed a total of 43,806,112 requests ( Averaged 1.2 data requests per handshake).
Reading--The number of header information that Nginx reads to the client.
Writing--The number of header information returned to the client by Nginx.
Waiting--when keep-alive is turned on, this value is equal to active-(reading + writing), meaning that Nginx has finished processing the resident connection that is waiting for the next request instruction.


How to view Nginx running status and related property description

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.