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

Add /proc/net/dev parser #843

Merged
merged 1 commit into from
Nov 8, 2023
Merged

Conversation

jkilpatr
Copy link
Member

This patch adds a simple parser for /proc/net/dev that allows the caller to get the data usage counter for any interface. This is useful for various applciations for example we could display usage per port on the lan interfaces page.

@jkilpatr jkilpatr force-pushed the jkilpatr/add-proc-net-dev-parser branch 2 times, most recently from a065064 to fff99ed Compare October 24, 2023 21:02
This patch adds a simple parser for /proc/net/dev that allows the caller
to get the data usage counter for any interface. This is useful for
various applciations for example we could display usage per port on the
lan interfaces page.
@jkilpatr jkilpatr force-pushed the jkilpatr/add-proc-net-dev-parser branch from fff99ed to 70c2604 Compare November 8, 2023 13:11
@jkilpatr jkilpatr merged commit 70c2604 into master Nov 8, 2023
2 checks passed
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

Successfully merging this pull request may close these issues.

2 participants