如何检查nginx负载?

Mik*_*iko 0 nginx

如何检查我的 nginx 服务器上的当前负载?

Mat*_*ttB 5

nginx 有一个状态模块(NginxHttpStubStatusModule),您可以通过以下方式访问:

http://yoursite/nginx_status
Run Code Online (Sandbox Code Playgroud)

但是您需要重新编译 nginx 才能获得此支持 - 默认情况下未启用。

有关更多详细信息,请参阅此博客文章