diff options
author | fraggerfox <santhosh.raju@gmail.com> | 2021-06-13 05:43:54 +0530 |
---|---|---|
committer | BenBE <BenBE@geshi.org> | 2021-06-26 12:18:37 +0200 |
commit | 686309e34cacd9e49574c4dab0480e5c75c8e5da (patch) | |
tree | bca0a3b9225474041af5cc2e9987c99866e19d97 /netbsd | |
parent | 5fe9bcb21c61dc998fc7eff79951ed7409cff8f8 (diff) |
Redo the memory values based on the other BSD implementations.
Diffstat (limited to 'netbsd')
-rw-r--r-- | netbsd/Platform.c | 4 |
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) { |