Skip to content

Commit

Permalink
Redo the memory values based on the other BSD implementations.
Browse files Browse the repository at this point in the history
  • Loading branch information
fraggerfox committed Jun 13, 2021
1 parent 78448f3 commit 4c67fa4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion netbsd/Platform.c
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 4c67fa4

Please sign in to comment.