diff --git a/shutdown_all.sh b/shutdown_all.sh index 961260d..0218147 100644 --- a/shutdown_all.sh +++ b/shutdown_all.sh @@ -1 +1,2 @@ +# mac设备上的grep命令可能不支持grep -P选项,请使用Homebrew安装;或使用ggrep命令 ps -eo pid,user,cmd|grep -P 'server/api.py|webui.py|fastchat.serve'|grep -v grep|awk '{print $1}'|xargs kill -9 \ No newline at end of file