更新shutdown_all.sh:更新mac设备的额外说明
This commit is contained in:
parent
832c261cdf
commit
1e12944a5d
|
|
@ -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
|
ps -eo pid,user,cmd|grep -P 'server/api.py|webui.py|fastchat.serve'|grep -v grep|awk '{print $1}'|xargs kill -9
|
||||||
Loading…
Reference in New Issue