Initial commit

This commit is contained in:
jackyu66git
2025-06-10 01:16:09 +08:00
commit 05bab03b8c
155 changed files with 19979 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#!/bin/bash
# 检查虚拟环境中的gunicorn进程
echo "Gunicorn进程状态:"
ps aux | grep "venv/bin/gunicorn" | grep -v grep
# 检查端口
echo -e "\n端口8123状态:"
netstat -tulpn 2>/dev/null | grep 8123 || echo "端口8123未被占用"
# 检查日志文件最后几行
echo -e "\n访问日志(最后5行):"
tail -n 5 logs/access.log 2>/dev/null || echo "访问日志尚未创建"
echo -e "\n错误日志(最后5行):"
tail -n 5 logs/error.log 2>/dev/null || echo "错误日志尚未创建"