gpt4 book ai didi

linux - 如何解释来自 htop 的内存使用信息

转载 作者:IT老高 更新时间:2023-10-28 12:31:19 26 4
gpt4 key购买 nike

我们的实验室中有多台服务器,我试图确定哪一台服务器当前有更多可用资源。我试图解释 htop 显示的信息,但我不是 100% 理解所有这些数字。

我在发出 htop 后为每个服务器截屏:

服务器 #1:

服务器 #2:

服务器#1 的可用内存是否比服务器#2 多?我应该看 Avg 还是 Mem?或者我应该看什么其他参数?

谢谢!

最佳答案

htop 作者在这里。

Does server #1 have more memory available than server #2?

是的。

来自 htop faq :

The memory meter in htop says a low number, such as 9%, when top shows something like 90%! (Or: the MEM% number is low, but the bar looks almost full. What's going on?)

The number showed by the memory meter is the total memory used by processes. The additional available memory is used by the Linux kernel for buffering and disk cache, so in total almost the entire memory is in use by the kernel. I believe the number displayed by htop is a more meaningful metric of resources used: the number corresponds to the green bars; the blue and brown bars correspond to buffers and cache, respectively (as explained in the Help screen accessible through the F1 key). Numeric data about these is also available when configuring the memory meter to display as text (in the Setup screen, F2).

希望能解决问题!干杯!

关于linux - 如何解释来自 htop 的内存使用信息,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/17435351/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com