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

获取流量数据只有总数,没有每秒的流量 #89

Open
neo-hu opened this issue Oct 11, 2017 · 0 comments
Open

获取流量数据只有总数,没有每秒的流量 #89

neo-hu opened this issue Oct 11, 2017 · 0 comments

Comments

@neo-hu
Copy link

neo-hu commented Oct 11, 2017

代码里面是读取 ·/proc/net/dev· 文件里面的内容,

我觉得应该读取2个时间点的差值然后除时间差就是每秒的流量。

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

1 participant