aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Talbert <ptalbert@redhat.com>2018-02-21 14:53:24 +0100
committerBryn M. Reeves <bmr@redhat.com>2018-05-09 12:01:27 +0100
commitda268b36028ca3e5ee9ce3cafdd04ebd7bea4a7b (patch)
tree7a566d9b572f0ecd96aa92734eea85449ed29caa
parent1167dab89e7097478b4744906045b0b9f3855d45 (diff)
downloadsos-da268b36028ca3e5ee9ce3cafdd04ebd7bea4a7b.tar.gz
[networking] Add sysfs netdev statistics
Some net_device statistics are only exposed via sysfs. Get them. Signed-off-by: Patrick Talbert <ptalbert@redhat.com>
-rw-r--r--sos/plugins/networking.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
index e4e2bcd0..88a3f954 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -138,6 +138,7 @@ class Networking(Plugin):
"/etc/nftables.conf",
"/etc/dnsmasq*",
"/sys/class/net/*/flags",
+ "/sys/class/net/*/statistics/",
"/etc/iproute2"
])