Merge branch 'shared_before_cached' of cgzones/htop

This commit is contained in:
Daniel Lange
2021-03-19 09:49:36 +01:00
7 changed files with 27 additions and 17 deletions

View File

@ -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) {