summaryrefslogtreecommitdiffstats
path: root/freebsd
diff options
context:
space:
mode:
authorDaniel Lange <DLange@git.local>2021-03-19 09:49:36 +0100
committerDaniel Lange <DLange@git.local>2021-03-19 09:49:36 +0100
commit67b815a817de673700f93a3fd1dfa7b6fdb11b5b (patch)
tree98f8f2807d6c6b5cc6788c26b33ab9e3ea25dcda /freebsd
parentee97916fd530c82b8747bd90b7d1b98e92f858ae (diff)
parent9f41dc3332a942eb4c578819e38cd40812656c2e (diff)
Merge branch 'shared_before_cached' of cgzones/htop
Diffstat (limited to 'freebsd')
-rw-r--r--freebsd/Platform.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/freebsd/Platform.c b/freebsd/Platform.c
index e6d90d53..453703c3 100644
--- a/freebsd/Platform.c
+++ b/freebsd/Platform.c
@@ -221,7 +221,9 @@ void Platform_setMemoryValues(Meter* this) {
this->total = pl->totalMem;
this->values[0] = pl->usedMem;
this->values[1] = pl->buffersMem;
- this->values[2] = pl->cachedMem;
+ // this->values[2] = "shared memory, like tmpfs and shm"
+ this->values[3] = pl->cachedMem;
+ // this->values[4] = "available memory"
}
void Platform_setSwapValues(Meter* this) {

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