fix:精简工程

This commit is contained in:
2026-04-01 15:03:20 +08:00
parent a7a67296e3
commit 6551f227be
37 changed files with 4063 additions and 586172 deletions

14
bash/close_shell.sh Normal file
View File

@@ -0,0 +1,14 @@
#查找进场pid
pname=$1
pid=`ps -ef|grep ${pname}|grep -v "grep"|awk '{print $2}'`
echo $pid
#pid转换数组
pids=($pid)
#循环kill
for pid in ${pids[@]}
do
echo kill${pid}
kill -9 $pid
echo kill${pid}success
sleep 1
done