Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

内存监测不准的问题反馈 #259

Closed
noonecheck opened this issue Oct 19, 2024 · 3 comments
Closed

内存监测不准的问题反馈 #259

noonecheck opened this issue Oct 19, 2024 · 3 comments

Comments

@noonecheck
Copy link

大佬,安装启动后,cpu监测很准,但是内存监测会错误,不正确。
使用docker搭建的,尝试了重装服务端,重启等均无效,是个例吗?

@cppla
Copy link
Owner

cppla commented Oct 19, 2024 via email

@noonecheck
Copy link
Author

好的,谢谢,我去试试调一下

内存计算方式不一样,有些是1000MB为1GB,有些是1024MB为1GB。代码中可以修改为方式一或者方式二显示。   另外如果是低版本linux ,对于buffer / cache的定义概念也不一样。free -m 能看到buffer和cache情况,高版本已经统一口径。

该邮件从移动设备发送

--------------原始邮件--------------
发件人:"noonecheck @.>;
发送时间:2024年10月19日(星期六) 下午3:02
收件人:"cppla/ServerStatus" @.
>;
抄送:"Subscribed @.***>;
主题:[cppla/ServerStatus] 内存监测不准的问题反馈 (Issue #259)

大佬,安装启动后,cpu监测很准,但是内存监测会错误,不正确。
使用docker搭建的,尝试了重装服务端,重启等均无效,是个例吗?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

@noonecheck
Copy link
Author

noonecheck commented Oct 19, 2024

请问这个代码具体在哪个文件中。
我的系统是deban12更新过的

内存计算方式不一样,有些是1000MB为1GB,有些是1024MB为1GB。代码中可以修改为方式一或者方式二显示。   另外如果是低版本linux ,对于buffer / cache的定义概念也不一样。free -m 能看到buffer和cache情况,高版本已经统一口径。

该邮件从移动设备发送

--------------原始邮件--------------
发件人:"noonecheck @.>;
发送时间:2024年10月19日(星期六) 下午3:02
收件人:"cppla/ServerStatus" @.
>;
抄送:"Subscribed @.***>;
主题:[cppla/ServerStatus] 内存监测不准的问题反馈 (Issue #259)

大佬,安装启动后,cpu监测很准,但是内存监测会错误,不正确。
使用docker搭建的,尝试了重装服务端,重启等均无效,是个例吗?


Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.Message ID: @.***>

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants