salt.modules.uwsgi

uWSGI stats server http://uwsgi-docs.readthedocs.org/en/latest/StatsServer.html

maintainer:Peter Baumgartner <pete@lincolnloop.com>
maturity:new
platform:all
salt.modules.uwsgi.stats(socket)

Return the data from uwsgi --connect-and-read as a dictionary.

socket
The socket the uWSGI stats server is listening on

CLI 范例:

salt '*' uwsgi.stats /var/run/mystatsserver.sock

salt '*' uwsgi.stats 127.0.0.1:5050