From 7926a5b51f14f2ccb31394dd48940c2d34c34c64 Mon Sep 17 00:00:00 2001
From: hubian <908234780@qq.com>
Date: Thu, 23 Apr 2026 23:58:38 +0800
Subject: [PATCH] =?UTF-8?q?feat:=20=E5=AE=9E=E6=97=B6=E7=9B=91=E6=8E=A7?=
=?UTF-8?q?=E6=98=BE=E7=A4=BACPU=E5=8D=A0=E7=94=A8=E6=9C=80=E9=AB=98?=
=?UTF-8?q?=E7=9A=84=E8=BF=9B=E7=A8=8B=E5=88=97=E8=A1=A8?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
app.py | 133 +++++++++++++++++++++++-
logs/app.log | 283 +++++++--------------------------------------------
2 files changed, 166 insertions(+), 250 deletions(-)
diff --git a/app.py b/app.py
index cf0ad46..ca49db6 100644
--- a/app.py
+++ b/app.py
@@ -799,6 +799,58 @@ def api_system_stats():
return jsonify({'error': str(e), 'available': False})
+@app.route('/api/system/processes')
+def api_system_processes():
+ """获取CPU占用最高的进程列表"""
+ if not HAS_PSUTIL:
+ return jsonify({'error': 'psutil未安装', 'available': False})
+
+ try:
+ limit = int(request.args.get('limit', 10))
+ limit = max(1, min(50, limit)) # 限制1-50
+
+ processes = []
+ for proc in psutil.process_iter(['pid', 'name', 'memory_percent', 'status', 'create_time', 'exe', 'cmdline']):
+ try:
+ pinfo = proc.info
+ # 获取实时CPU占用(需要单独调用)
+ cpu_percent = proc.cpu_percent(interval=0.1)
+
+ # 格式化命令行
+ cmdline = pinfo.get('cmdline', [])
+ cmdline_str = ' '.join(cmdline) if cmdline else pinfo['name']
+ if len(cmdline_str) > 60:
+ cmdline_str = cmdline_str[:60] + '...'
+
+ # 启动时间
+ create_time = datetime.fromtimestamp(pinfo['create_time']).strftime('%m-%d %H:%M')
+
+ processes.append({
+ 'pid': pinfo['pid'],
+ 'name': pinfo['name'],
+ 'cpu': cpu_percent,
+ 'memory': pinfo['memory_percent'] or 0,
+ 'status': pinfo['status'],
+ 'create_time': create_time,
+ 'exe': pinfo.get('exe', '') or '',
+ 'cmdline': cmdline_str
+ })
+ except (psutil.NoSuchProcess, psutil.AccessDenied):
+ continue
+
+ # 按CPU占用排序,取前N个
+ processes.sort(key=lambda x: x['cpu'], reverse=True)
+ top_processes = processes[:limit]
+
+ return jsonify({
+ 'available': True,
+ 'processes': top_processes,
+ 'count': len(top_processes)
+ })
+ except Exception as e:
+ return jsonify({'error': str(e), 'available': False})
+
+
def guess_cron_name(command):
"""从命令推断任务名称"""
keywords = {
@@ -1103,7 +1155,7 @@ HTML_TEMPLATE = '''
- 项目服务管理面板 v3.2
+ 项目服务管理面板 v3.3
@@ -1465,6 +1517,28 @@ HTML_TEMPLATE = '''
●
+
+
+
+
+
+ CPU占用最高的进程
+
+
+ 显示数量:
+
+
+
+
+
@@ -1836,6 +1910,7 @@ HTML_TEMPLATE = '''
document.getElementById('realtimeCheck').checked = false;
document.getElementById('realtimeToggle').classList.remove('active');
document.getElementById('realtimeIndicator').classList.add('hidden');
+ document.getElementById('processListSection').classList.add('hidden');
}
if (tab === 'cron') {
@@ -2059,26 +2134,82 @@ HTML_TEMPLATE = '''
// 检查阈值
checkThresholds(data);
+ // 如果实时监控开启,加载进程列表
+ if (document.getElementById('realtimeCheck').checked) {
+ loadTopProcesses();
+ }
+
} catch (e) {
console.error('系统资源加载失败:', e);
}
}
+ // 加载CPU占用最高的进程
+ async function loadTopProcesses() {
+ try {
+ const limit = document.getElementById('processLimitSelect').value;
+ const res = await fetch(`/api/system/processes?limit=${limit}`);
+ const data = await res.json();
+
+ if (!data.available) {
+ document.getElementById('processList').innerHTML = '无法获取进程信息
';
+ return;
+ }
+
+ const list = document.getElementById('processList');
+ if (data.processes.length === 0) {
+ list.innerHTML = '暂无进程数据
';
+ return;
+ }
+
+ list.innerHTML = data.processes.map(proc => `
+
+
+
+
${proc.pid}
+
+
${proc.name}
+
${proc.cmdline || proc.exe}
+
+
+
+
+ ${proc.cpu.toFixed(1)}%
+ CPU
+
+
+ ${proc.memory.toFixed(1)}%
+ 内存
+
+
${proc.create_time}
+
+
+
+ `).join('');
+ } catch (e) {
+ console.error('进程列表加载失败:', e);
+ }
+ }
+
function toggleRealtime() {
const checked = document.getElementById('realtimeCheck').checked;
const toggle = document.getElementById('realtimeToggle');
const indicator = document.getElementById('realtimeIndicator');
+ const processSection = document.getElementById('processListSection');
if (checked) {
toggle.classList.add('active');
indicator.classList.remove('hidden');
+ processSection.classList.remove('hidden');
// 立即加载一次
loadSystemStats();
+ loadTopProcesses();
// 启动定时器
realtimeTimer = setInterval(loadSystemStats, realtimeInterval * 1000);
} else {
toggle.classList.remove('active');
indicator.classList.add('hidden');
+ processSection.classList.add('hidden');
// 停止定时器
if (realtimeTimer) {
clearInterval(realtimeTimer);
diff --git a/logs/app.log b/logs/app.log
index 7646ca2..ea6e738 100644
--- a/logs/app.log
+++ b/logs/app.log
@@ -1,8 +1,8 @@
-[2026-04-23 23:33:00] ==================================================
-[2026-04-23 23:33:00] 项目服务管理面板 v2.0.0 启动
-[2026-04-23 23:33:00] 访问地址: http://localhost:19013
-[2026-04-23 23:33:00] 进程PID: 1265636
-[2026-04-23 23:33:00] ==================================================
+[2026-04-23 23:57:38] ==================================================
+[2026-04-23 23:57:38] 项目服务管理面板 v2.0.0 启动
+[2026-04-23 23:57:38] 访问地址: http://localhost:19013
+[2026-04-23 23:57:38] 进程PID: 1274690
+[2026-04-23 23:57:38] ==================================================
* Serving Flask app 'app'
* Debug mode: off
WARNING: This is a development server. Do not use it in a production deployment. Use a production WSGI server instead.
@@ -10,247 +10,32 @@ WARNING: This is a development server. Do not use it in a production deployment.
* Running on http://127.0.0.1:19013
* Running on http://192.168.2.17:19013
Press CTRL+C to quit
-127.0.0.1 - - [23/Apr/2026 23:33:03] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:33:05] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:06] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:13] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:33:15] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:23] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:33:25] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:31] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:33:33] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:33] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:33] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:33:35] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:33:35] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:43] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:33:45] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:33:53] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:33:55] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:01] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:03] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:03] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:05] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:13] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:15] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:23] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:25] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:32] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:33] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:33] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:34] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:34:35] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:35] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:44] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:45] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:34:54] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:34:55] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:02] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:03] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:04] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:05] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:14] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:15] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:24] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:25] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:32] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:33] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:33] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:34] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:35:35] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:35] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:44] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:45] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:35:54] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:35:55] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:02] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:04] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:04] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:06] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:14] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:16] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:24] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:26] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:29] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:30] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:31] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:31] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:32] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:32] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:32] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:33] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:34] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:34] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:36] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:40] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:41] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:42] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:42] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:44] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:44] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:46] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:46] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:48] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:50] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:51] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:52] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:53] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:54] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:36:54] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:36:56] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:56] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:36:58] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:00] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:01] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:02] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:02] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:02] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:04] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:04] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:04] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:06] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:06] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:08] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:10] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:11] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:12] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:12] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:14] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:14] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:16] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:16] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:18] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:20] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:21] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:22] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:22] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:24] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:24] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:26] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:26] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:28] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:30] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:31] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:32] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:32] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:32] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:34] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:34] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:34] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:36] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:36] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:38] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:40] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:41] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:42] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:42] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:44] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:44] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:46] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:46] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:48] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:50] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:51] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:52] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:52] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:54] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:37:54] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:37:56] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:56] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:37:58] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:00] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:01] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:02] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:02] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:02] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:04] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:04] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:04] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:06] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:06] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:08] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:10] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:11] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:12] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:12] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:14] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:15] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:16] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:17] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:18] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:20] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:21] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:22] "GET /api/system/stats HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:22] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:24] "GET / HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:24] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:25] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:25] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:27] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:27] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:27] "GET /api/system/stats HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:32] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:34] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:35] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:35] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:37] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:37] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:45] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:45] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:47] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:47] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:55] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:38:55] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:38:57] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:38:57] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:02] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:04] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:05] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:05] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:07] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:39:07] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:15] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:15] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:17] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:39:17] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:25] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:25] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:27] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:39:27] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:32] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:34] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:35] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:35] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:37] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:39:37] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:38] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:45] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:45] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:47] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:39:47] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:55] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:39:55] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:39:57] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:39:57] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:01] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:02] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:40:04] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:05] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:05] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:40:07] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:40:07] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:15] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:15] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:40:17] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:40:17] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:25] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:25] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:40:27] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:40:27] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:32] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:40:34] "GET /api/projects HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:35] "GET / HTTP/1.1" 200 -
-127.0.0.1 - - [23/Apr/2026 23:40:35] "GET / HTTP/1.1" 200 -
-192.168.2.8 - - [23/Apr/2026 23:40:37] "GET /api/projects HTTP/1.1" 200 -
-192.168.2.14 - - [23/Apr/2026 23:40:37] "GET /api/projects HTTP/1.1" 200 -
-[2026-04-23 23:40:37] ⚠️ 进程收到 SIGTERM 信号,即将退出!
+127.0.0.1 - - [23/Apr/2026 23:57:42] "GET / HTTP/1.1" 200 -
+192.168.2.14 - - [23/Apr/2026 23:57:43] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:57:45] "GET / HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:57:47] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:57:52] "GET / HTTP/1.1" 200 -
+192.168.2.14 - - [23/Apr/2026 23:57:53] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:57:55] "GET / HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:57:57] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:02] "GET / HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:02] "GET / HTTP/1.1" 200 -
+192.168.2.14 - - [23/Apr/2026 23:58:03] "GET /api/projects HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:58:04] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:05] "GET / HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:58:07] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:12] "GET / HTTP/1.1" 200 -
+192.168.2.14 - - [23/Apr/2026 23:58:13] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:15] "GET / HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:58:17] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:19] "GET /api/system/processes?limit=5 HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:22] "GET / HTTP/1.1" 200 -
+192.168.2.14 - - [23/Apr/2026 23:58:23] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:25] "GET / HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:58:27] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:32] "GET / HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:32] "GET / HTTP/1.1" 200 -
+192.168.2.14 - - [23/Apr/2026 23:58:33] "GET /api/projects HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:58:34] "GET /api/projects HTTP/1.1" 200 -
+127.0.0.1 - - [23/Apr/2026 23:58:35] "GET / HTTP/1.1" 200 -
+192.168.2.8 - - [23/Apr/2026 23:58:37] "GET /api/projects HTTP/1.1" 200 -