Blame SOURCES/sos-bz1645085-networking-collect-all-numa.patch
|
|
fce3c4 |
From 516d97bbfcd58d665dffff0e02a15b15249dd530 Mon Sep 17 00:00:00 2001
|
|
|
fce3c4 |
From: Jamie Bainbridge <jamie.bainbridge@gmail.com>
|
|
|
fce3c4 |
Date: Mon, 15 Oct 2018 15:51:39 +1000
|
|
|
fce3c4 |
Subject: [PATCH] [networking] Collect NUMA Node of each NIC
|
|
|
fce3c4 |
|
|
|
fce3c4 |
It is often useful to know the NUMA locality of each network device.
|
|
|
fce3c4 |
Collect /sys/class/net/*/device/numa_node to add this information.
|
|
|
fce3c4 |
|
|
|
fce3c4 |
Resolves: #1451
|
|
|
fce3c4 |
|
|
|
fce3c4 |
Signed-off-by: Jamie Bainbridge <jamie.bainbridge@gmail.com>
|
|
|
fce3c4 |
Signed-off-by: Bryn M. Reeves <bmr@redhat.com>
|
|
|
fce3c4 |
---
|
|
|
fce3c4 |
sos/plugins/networking.py | 1 +
|
|
|
fce3c4 |
1 file changed, 1 insertion(+)
|
|
|
fce3c4 |
|
|
|
fce3c4 |
diff --git a/sos/plugins/networking.py b/sos/plugins/networking.py
|
|
|
fce3c4 |
index 5f532707..f3e78935 100644
|
|
|
fce3c4 |
--- a/sos/plugins/networking.py
|
|
|
fce3c4 |
+++ b/sos/plugins/networking.py
|
|
|
fce3c4 |
@@ -111,6 +111,7 @@ class Networking(Plugin):
|
|
|
fce3c4 |
"/etc/sysconfig/nftables.conf",
|
|
|
fce3c4 |
"/etc/nftables.conf",
|
|
|
fce3c4 |
"/etc/dnsmasq*",
|
|
|
fce3c4 |
+ "/sys/class/net/*/device/numa_node",
|
|
|
fce3c4 |
"/sys/class/net/*/flags",
|
|
|
fce3c4 |
"/sys/class/net/*/statistics/",
|
|
|
fce3c4 |
"/etc/iproute2"
|
|
|
fce3c4 |
--
|
|
|
fce3c4 |
2.17.2
|
|
|
fce3c4 |
|