From: Michael Tremer Date: Wed, 8 Oct 2025 20:07:02 +0000 (+0000) Subject: proc: Also convert total memory to bytes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2592130efd5d71f14b22eee0bef5f35778342f6c;p=telemetry.git proc: Also convert total memory to bytes Signed-off-by: Michael Tremer --- diff --git a/src/daemon/proc.c b/src/daemon/proc.c index c8579ea..c6a2e53 100644 --- a/src/daemon/proc.c +++ b/src/daemon/proc.c @@ -59,6 +59,7 @@ int collecty_proc_read_meminfo(collecty_ctx* ctx, collecty_proc_meminfo* meminfo return r; // Convert all values to bytes + meminfo->mem_total *= 1024; meminfo->mem_free *= 1024; meminfo->mem_available *= 1024; meminfo->cached *= 1024;