From 686309e34cacd9e49574c4dab0480e5c75c8e5da Mon Sep 17 00:00:00 2001 From: fraggerfox Date: Sun, 13 Jun 2021 05:43:54 +0530 Subject: [PATCH] Redo the memory values based on the other BSD implementations. --- netbsd/Platform.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/netbsd/Platform.c b/netbsd/Platform.c index 3f88d4f2..32e926aa 100644 --- a/netbsd/Platform.c +++ b/netbsd/Platform.c @@ -240,7 +240,9 @@ void Platform_setMemoryValues(Meter* this) { this->total = pl->totalMem; this->values[0] = usedMem; this->values[1] = buffersMem; - this->values[2] = cachedMem; + // this->values[2] = "shared memory, like tmpfs and shm" + this->values[3] = cachedMem; + // this->values[4] = "available memory" } void Platform_setSwapValues(Meter* this) {