Repository navigation
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #2846 +/- ##
==========================================
- Coverage 86.97% 85.50% -1.48%
==========================================
Files 30 30
Lines 1359 1359
Branches 192 192
==========================================
- Hits 1182 1162 -20
- Misses 101 112 +11
- Partials 76 85 +9 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
dbwiddis
left a comment
There was a problem hiding this comment.
First, thanks for contributing! This will be a great improvement.
I've made a few suggestions here: try to use existing parsing functions when possible. The header values are predictable so you don't need to parse them.
dbwiddis
left a comment
There was a problem hiding this comment.
Thanks for your patience continuing to work on this! Logic looks good here, just some final tweaks needed.
Also please add a change log entry.
dbwiddis
left a comment
There was a problem hiding this comment.
LGTM! Thanks for this contribution, looking forward to more! 🎉
Title:
Optimize calls to netstat by using /proc files (Issue #2826)
Description:
This PR optimizes the retrieval of network statistics by replacing external netstat calls with direct file reads from /proc/net/snmp (TCPv4 and UDPv4) and /proc/net/snmp6 (UDPv6).
Changes Made:
Testing Done: