From d19fae83baa50dff4493b491caa744a106b0ac0f Mon Sep 17 00:00:00 2001 From: Akizon77 Date: Fri, 12 Sep 2025 02:11:41 +0000 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E5=86=85=E5=AD=98?= =?UTF-8?q?=E4=BD=BF=E7=94=A8=E8=AE=A1=E7=AE=97=E9=80=BB=E8=BE=91=E4=BB=A5?= =?UTF-8?q?=E6=AD=A3=E7=A1=AE=E5=8F=8D=E6=98=A0=E5=B7=B2=E7=94=A8=E5=86=85?= =?UTF-8?q?=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- monitoring/unit/mem.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monitoring/unit/mem.go b/monitoring/unit/mem.go index 4926398..1b8f7e2 100644 --- a/monitoring/unit/mem.go +++ b/monitoring/unit/mem.go @@ -24,7 +24,7 @@ func Ram() RamInfo { return raminfo } raminfo.Total = v.Total - raminfo.Used = v.Used + raminfo.Used = v.Total - v.Available return raminfo }