mstatus commands to Supervisor_. Those commands works similar to
status respectively, but they:
In some usecases you can use groups support in Supervisor_, but it doesn't allow you to have one process in multiple groups. That's when wildcarding can be really useful.
supervisor> status celery-a RUNNING pid 15085, uptime 0:00:11 celery-b RUNNING pid 15086, uptime 0:00:12 gunicorn-a RUNNING pid 14151, uptime 0:05:18 gunicorn-b RUNNING pid 14237, uptime 0:04:45 supervisor> mstop -a celery-a: stopped gunicorn-a: stopped supervisor> mstatus -a celery-a STOPPED Nov 06 05:38 AM gunicorn-a STOPPED Nov 06 05:38 AM supervisor>
pip install supervisor-wildcards
And then add into your supervisor.conf:
[ctlplugin:wildcards] supervisor.ctl_factory = supervisorwildcards.controllerplugin:make_wildcards_controllerplugin
[ctlplugin:wildcards] supervisor.ctl_factory = supervisorwildcards.controllerplugin:make_wildcards_controllerplugin match_group = 1
By default, supervisorwildcards plugin match the wildcards just against process name (not group). Setting match_group = 1 will try to match the pattern against "group_name:process_name" instead.
allparameter expands to
.. _Supervisor: http://supervisord.org/