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

网卡流量值获取有问题 #639

Closed
Guwenqiang opened this issue Dec 14, 2018 · 3 comments
Closed

网卡流量值获取有问题 #639

Guwenqiang opened this issue Dec 14, 2018 · 3 comments

Comments

@Guwenqiang
Copy link

hi,你好,我通过open-falcon net.if.in.bytes/iface=eth0和net.if.out.bytes/iface=eth0去查看网卡的出入流量,和在本机看到的流量相差5-6倍(主机上直接使用nload查看实时流量对比的),open-falcon没有做额外的配置调整。

@mdh67899
Copy link
Contributor

默认每 100 毫秒刷新一次显示数值,下面的例子将时间间隔设置成 500 毫秒

我看这个文档里面nload是100毫秒刷新一下数据,统计的周期是100ms,falcon-agent统计的出入流量时间粒度是1分钟,两者时间粒度差的太大,所以统计的值相差很大也算是正常,你试试设置nload的刷新时间间隔为1分钟,再看对比一下二者的差值看看

@laiwei
Copy link
Member

laiwei commented Dec 27, 2018

@Guwenqiang falcon的网络流量单位是 byte,nload实时看到的单位是 bit 吧?

@CastroKKK
Copy link

楼主应该是单位搞错了,以byte 为准。iftop看到的也要转换成小b,同理。

@laiwei laiwei closed this as completed Apr 15, 2019
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

4 participants