From d1bb48138f41dc64fe099ee751fb4a09cd0a8cce Mon Sep 17 00:00:00 2001 From: Peter Stockings Date: Wed, 24 Dec 2025 10:04:35 +1100 Subject: [PATCH] Set total ram in compute section --- app.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/app.py b/app.py index 12c6ba0..88d8b46 100644 --- a/app.py +++ b/app.py @@ -310,6 +310,8 @@ def collect(): host_mem_total = int(sysinfo.get("mem_total") or 0) ram_pct = (total_mem_used_bytes / host_mem_total * 100.0) if host_mem_total else 0.0 + sysinfo["ram_total_h"] = format_bytes(host_mem_total) + # Docker disk: images "Size" and "Reclaimable" df_images = sysinfo.get("system_df", {}).get("Images", {}) images_size_bytes = parse_human_bytes(df_images.get("size", "0B"))