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

vjtop支持网卡流量信息 #76

Closed
calvin1978 opened this issue Aug 6, 2018 · 0 comments
Closed

vjtop支持网卡流量信息 #76

calvin1978 opened this issue Aug 6, 2018 · 0 comments
Labels
feature New feature
Milestone

Comments

@calvin1978
Copy link
Collaborator

calvin1978 commented Aug 6, 2018

从 /proc/pid/net/dev 获取

该文件有各个网卡流量,排除掉lo 和 bond*,将其余网卡相加。

实现可参考: 分析运算量有点大,考虑下是否做。
https://github.com/dagwieers/dstat/blob/master/plugins/dstat_net_packets.py

@calvin1978 calvin1978 added the feature New feature label Aug 7, 2018
@calvin1978 calvin1978 added this to the 1.0.3 milestone Aug 13, 2018
calvin1978 added a commit that referenced this issue Aug 13, 2018
calvin1978 added a commit that referenced this issue Aug 13, 2018
同时原IO信息改为按秒的平均值
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature
Projects
None yet
Development

No branches or pull requests

1 participant