1, Nginx View the number of concurrent connections
There are two ways, one is configured in the Nginx.config file and then viewed through the browser, the other is the use of the command, I use the Windows for use, so the use of the browser is more convenient.
location/status {stub_status on;access_log logs/status.log;auth_basic "Nginxstatus";}
Add the above code to the server and enter it in the browser
Analytical:
Active connections//current Nginx is processing the number of live connections.
The server accepts handledrequests//processed a total of 22 connections, successfully creating 22 handshakes, and processed a total of 64 requests.
Reading//nginx The number of Header messages read to the client.
Writing//nginx Returns the number of Header information returned to the client.
Waiting//Open keep-alive, this value equals active-(reading + writing), meaning that Nginx has finished processing the host connection that is waiting for the next request instruction
The above describes the Welcome to Nginx View the number of concurrent connections, including the Welcome to nginx content, I hope that the PHP tutorial interested in a friend helpful.