mirror of https://github.com/shirou/gopsutil
fix(mem): 修正 Linux 内存使用计算方法
- 更新内存使用计算公式,参考 psutil 项目中的实现 - 考虑 Buff/Cache 实际上也被使用的情况 - 修改 Used 字段的计算方式,从 Total 中减去 Free,不再减去 Buffers 和 Cachedpull/1824/head
parent
d18573cbf1
commit
cca4501c14
Loading…
Reference in New Issue