summaryrefslogtreecommitdiffstats
path: root/netbsd
diff options
context:
space:
mode:
authorfraggerfox <santhosh.raju@gmail.com>2021-06-13 05:43:54 +0530
committerBenBE <BenBE@geshi.org>2021-06-26 12:18:37 +0200
commit686309e34cacd9e49574c4dab0480e5c75c8e5da (patch)
treebca0a3b9225474041af5cc2e9987c99866e19d97 /netbsd
parent5fe9bcb21c61dc998fc7eff79951ed7409cff8f8 (diff)
Redo the memory values based on the other BSD implementations.
Diffstat (limited to 'netbsd')
-rw-r--r--netbsd/Platform.c4
1 files changed, 3 insertions, 1 deletions
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) {

© 2014-2024 Faster IT GmbH | imprint | privacy policy