diff --git a/public/index.html b/public/index.html index f032174..91d9a4d 100644 --- a/public/index.html +++ b/public/index.html @@ -66,13 +66,6 @@

数据可视化展示大屏

-
- - - 0 台服务器 - - 0 个数据源 -
@@ -293,6 +286,13 @@ +
+ + + 0 台服务器 + + 0 个数据源 +
diff --git a/public/js/app.js b/public/js/app.js index f6b0d93..d960a6d 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -553,15 +553,13 @@
${formatPercent(data.cpuBusy)}
- Sys: ${data.cpuSystem.toFixed(1)}% - User: ${data.cpuUser.toFixed(1)}% - Wait: ${data.cpuIowait.toFixed(1)}% + I/O Wait: ${data.cpuIowait.toFixed(1)}%
`; const metrics = [ - { key: 'cpuBusy', label: 'CPU 使用率 (Busy Breakdown)', value: cpuValueHtml }, + { key: 'cpuBusy', label: 'CPU 使用率 (Busy / IO Wait)', value: cpuValueHtml }, { key: 'sysLoad', label: '系统负载 (Load)', value: data.sysLoad.toFixed(1) + '%' }, { key: 'memUsedPct', label: '内存使用率 (RAM)', value: formatPercent(data.memUsedPct) }, { key: 'swapUsedPct', label: 'SWAP 使用率', value: formatPercent(data.swapUsedPct) },