mirror of
https://github.com/kmvan/x-prober.git
synced 2026-08-13 08:42:25 +08:00
内存Memory占用是不是不准确 #46
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @mengdodo on GitHub (Dec 23, 2020).
docker stats (host)
top (host)
x.php (X-Prober 6.5)
question
根据我观察,x.php显示内存一直在上涨,从一开始的690M,到700M,到现在的800M,且跟宿主机内存占用不匹配,请问这是个BUG吗,还是我观察的方式不对。
@kmvan According to my observation, x.php shows that the memory has been rising, from 690m at the beginning, to 700m, to 800m now, and it does not match the host's memory occupation. Is this a bug, or is the way I observe wrong ?
@kmvan commented on GitHub (Dec 23, 2020):
cat一下
/proc/meminfo看看@mengdodo commented on GitHub (Dec 24, 2020):
@kmvan
现在时间:12:13分
X-Prober显示内存占用:810.68 M / 7.67 G
@kmvan commented on GitHub (Dec 24, 2020):
看起来没错,
MemTotal - MemAvailable = 即为真实内存使用(不包含缓存)。

这个是debian系的计算。