Merge branch 'main' of git.kaiyuancloud.cn:yumoqing/llmengine

This commit is contained in:
ymq1 2025-07-02 15:07:22 +08:00
commit 3f4ef217d3
2 changed files with 24 additions and 0 deletions

12
test/connection/stop.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
PORT=8888
PID=$(lsof -t -i:$PORT)
if [ -n "$PID" ]; then
echo "找到端口 $PORT 的进程: PID=$PID"
kill -9 $PID
echo "已终止端口 $PORT 的进程"
else
echo "未找到端口 $PORT 的进程"
fi

12
test/entities/stop.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/bash
PORT=9990
PID=$(lsof -t -i:$PORT)
if [ -n "$PID" ]; then
echo "找到端口 $PORT 的进程: PID=$PID"
kill -9 $PID
echo "已终止端口 $PORT 的进程"
else
echo "未找到端口 $PORT 的进程"
fi