From 983a2ae31e70e2a18005e6fb9612e2605adebd64 Mon Sep 17 00:00:00 2001 From: yeyang <746659424@qq.com> Date: Tue, 29 Nov 2022 22:51:57 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=8A=B6=E6=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/state.js | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/apps/state.js b/apps/state.js index a8c8128..3a48aea 100644 --- a/apps/state.js +++ b/apps/state.js @@ -101,8 +101,10 @@ export class example extends plugin { let HardDisk = ''; for (let i of await si.fsSize()) { if (!i.size || !i.used || !i.available) continue; + if (/docker/.test(i.mount)) continue; if (osinfo.arch.includes("arm") && i.mount != '/' && !/darwin/i.test(osinfo.platform)) continue; - HardDisk += `
${network.iface}
↑${network.tx_sec}/s ↓${network.rx_sec}/s
${network.iface}
+↑${network.tx_sec}/s ↓${network.rx_sec}/s
+