aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJamie Bainbridge <jamie.bainbridge@gmail.com>2018-10-15 15:51:39 +1000
committerBryn M. Reeves <bmr@redhat.com>2019-01-11 12:46:39 +0000
commit516d97bbfcd58d665dffff0e02a15b15249dd530 (patch)
treea9f8c58f8cd8bd6aed878fc8c038b29072fb20b3
parent7907bb4fbb3279d61d30d46372bc729557a5049a (diff)
downloadsos-516d97bbfcd58d665dffff0e02a15b15249dd530.tar.gz
[networking] Collect NUMA Node of each NIC
It is often useful to know the NUMA locality of each network device. Collect /sys/class/net/*/device/numa_node to add this information. Resolves: #1451 Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com> Signed-off-by: Bryn M. Reeves <bmr@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 5f532707..f3e78935 100644
--- a/sos/plugins/networking.py
+++ b/sos/plugins/networking.py
@@ -111,6 +111,7 @@ class Networking(Plugin):
"/etc/sysconfig/nftables.conf",
"/etc/nftables.conf",
"/etc/dnsmasq*",
+ "/sys/class/net/*/device/numa_node",
"/sys/class/net/*/flags",
"/sys/class/net/*/statistics/",
"/etc/iproute2"