添加/修改了向量数据库相关功能
This commit is contained in:
parent
0a8995eedd
commit
1c5f11eccb
12
test/connection/stop.sh
Executable file
12
test/connection/stop.sh
Executable 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
12
test/entities/stop.sh
Executable 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
|
Loading…
Reference in New Issue
Block a user