supervisor命令
启动supervisord
/usr/bin/supervisord -c /etc/supervisord.conf 或
supervisord -c /etc/supervisor/supervisord.conf
查看supervisord
ps -ef | grep supervisord
更新新的配置到supervisord :
supervisorctl update
重新启动配置中的所有程序:
supervisorctl reload
启动某个进程(program_name=你配置中写的程序名称):
supervisorctl start program_name
重启某个进程(program_name=你配置中写的程序名称):
supervisorctl restart program_name
停止某个进程(program_name=你配置中写的程序名称):
supervisorctl stop program_name
停止全部:
supervisorctl stop all
查看正在守候的进程:
supervisorctl
查看守护进程全部的状态
supervisorctl status