diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-07-17 21:25:05 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-17 21:25:05 -0400 |
commit | 7f24e6286735abcee6c3137dd9c22a7a178740a3 (patch) | |
tree | 0c47ab7f10e8f21018ef703f2e8f449bde222c0d /Cargo.toml | |
parent | 4e07a28e172f0767edbb9d508f4fa9e2af7b25cd (diff) |
bug: switch over to procfs for linux mem usage (#547)
Swap to manually calculating the mem total and usage via procfs. The usage calculation is now:
total - (free + cached + buffers + slab_reclaimable - shmem)
This follows the same usage calculation as htop. See the PR for more details.
Diffstat (limited to 'Cargo.toml')
0 files changed, 0 insertions, 0 deletions