如何在主管中停止过多的过程

时间:2017-05-31 08:55:12

标签: php centos centos7 supervisord supervisor

我运行supervisorctl状态,并且supervisor生成许多进程,如何杀死这些进程。

myapp:myapp_00                     RUNNING   pid 8313, uptime 0:14:54
myapp:myapp_01                     RUNNING   pid 8312, uptime 0:14:54
myapp:myapp_02                     RUNNING   pid 8311, uptime 0:14:54
myapp:myapp_03                     RUNNING   pid 8310, uptime 0:14:54
myapp:myapp_04                     RUNNING   pid 8309, uptime 0:14:54
myapp:myapp_05                     RUNNING   pid 8308, uptime 0:14:54
myapp:myapp_06                     RUNNING   pid 8307, uptime 0:14:54
myapp:myapp_07                     RUNNING   pid 8306, uptime 0:14:54

1 个答案:

答案 0 :(得分:0)

您应该可以使用supervisorctl来停止进程。

尝试

supervisorctl stop myapp:myapp_00