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

Network statistics update interval #40

Open
AlTech98 opened this issue Jun 20, 2022 · 1 comment
Open

Network statistics update interval #40

AlTech98 opened this issue Jun 20, 2022 · 1 comment

Comments

@AlTech98
Copy link

If i try to read /sys/class/net/enp7s0/statistics/rx_bytes it give the same value if called multiple times in the same second.

Is there a way to change the statistics update interval?

I'm using:

  • Ethernet controller [0200]: Aquantia Corp. AQC107 NBase-T/IEEE 802.3bz Ethernet Controller [AQtion] [1d6a:d107] (rev 02)
  • Linux 5.18.3
  • Manjaro
@cail
Copy link
Member

cail commented Oct 4, 2022

Hello,

Only through the code changes - but thats not recommended.

Stats update is a bulky operation. Why do you need under-second intervals?

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