From c12efbf410babe21d40674a89c2835afd3a23158 Mon Sep 17 00:00:00 2001 From: qiminbao Date: Fri, 31 Oct 2025 14:24:45 +0800 Subject: [PATCH] =?UTF-8?q?=E5=86=85=E5=AD=98=E5=88=A9=E7=94=A8=E7=8E=87?= =?UTF-8?q?=E6=95=B0=E6=8D=AE=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../tongran/agent/client/service/impl/SystemServiceImpl.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/main/java/com/tongran/agent/client/service/impl/SystemServiceImpl.java b/src/main/java/com/tongran/agent/client/service/impl/SystemServiceImpl.java index 51c6fe2..32c2271 100644 --- a/src/main/java/com/tongran/agent/client/service/impl/SystemServiceImpl.java +++ b/src/main/java/com/tongran/agent/client/service/impl/SystemServiceImpl.java @@ -160,6 +160,8 @@ public class SystemServiceImpl implements SystemService { memInfo.getOrDefault("Buffers", 0L) + memInfo.getOrDefault("Cached", 0L) + memInfo.getOrDefault("SReclaimable", 0L)); + AssertLog.info("memoryUtilizationCollect,总内存total:{}",total); + AssertLog.info("memoryUtilizationCollect,可用内存available:{}",available); // 实际内存使用率 // long cached = memInfo.getOrDefault("Cached", 0L) + // memInfo.getOrDefault("SReclaimable", 0L);