From 1e12944a5dfac1d0c5f38aa29b92be6d6b77bbe7 Mon Sep 17 00:00:00 2001 From: hzg0601 Date: Wed, 16 Aug 2023 22:58:59 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0shutdown=5Fall.sh:=E6=9B=B4?= =?UTF-8?q?=E6=96=B0mac=E8=AE=BE=E5=A4=87=E7=9A=84=E9=A2=9D=E5=A4=96?= =?UTF-8?q?=E8=AF=B4=E6=98=8E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shutdown_all.sh | 1 + 1 file changed, 1 insertion(+) 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