Home >PHP Framework >Workerman >How to kill worker process
方法一:在启动workerman的终端输入fg(发送SIGCONT信号)然后回车,将workerman切回前台运行,按ctrl c(发送SIGINT信号)停止workerman。
方法二:如果无法停止,尝试运行以下两条命令:
killall -9 php ps aux|grep -i workerman|awk '{print $2}'|xargs kill -9
PHP中文网,有大量免费的workerman入门教程,欢迎大家学习!
The above is the detailed content of How to kill worker process. For more information, please follow other related articles on the PHP Chinese website!