





















When we serve a HTTP service via uWSGI, we can monitor its stats via uwsgitop.
uwsgitop is a performance monitoring tool built for uWSGI.
It can be installed via pip:
Add the following to your uWSGI config:
Then use uwsgitop to monitor the stats:
uwsgitop /tmp/stats.socketIn this case, uwsgitop should be installed on the same machine as your service.
If you want to monitor the service via HTTP, add the following to uWSGI conf:
stats=0.0.0.0:1235
stats-http=trueThen run uwsgitop:
uwsgitop http://127.0.0.1:1717The meaning of output is explained here.
此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。