From 516d97bbfcd58d665dffff0e02a15b15249dd530 Mon Sep 17 00:00:00 2001
From: Jamie Bainbridge <jamie.bainbridge@gmail.com>
Date: Mon, 15 Oct 2018 15:51:39 +1000
Subject: [PATCH] [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>
---
sos/plugins/networking.py | 1 +
1 file changed, 1 insertion(+)
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"
--
2.17.2