From 2c646072016d4b1abef4d15436e83e761632b548 Mon Sep 17 00:00:00 2001 From: Marius Rieder Date: Sun, 6 May 2007 16:43:26 +0200 Subject: [PATCH] memory plugin: Fix the Linux-code: It submitted the same value for all RRD-files. --- src/memory.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/memory.c b/src/memory.c index aff16f54..38347e31 100644 --- a/src/memory.c +++ b/src/memory.c @@ -276,10 +276,9 @@ static int memory_read (void) { mem_used -= mem_free + mem_buffered + mem_cached; memory_submit ("used", mem_used); - memory_submit ("buffered", mem_used); - memory_submit ("cached", mem_used); - memory_submit ("free", mem_used); - + memory_submit ("buffered", mem_buffered); + memory_submit ("cached", mem_cached); + memory_submit ("free", mem_free); } /* #endif defined(KERNEL_LINUX) */ -- 2.30.2