aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKorrapati Likhitha <likhitha@linux.ibm.com>2023-03-08 21:37:19 +0530
committerJake Hunsaker <jhunsake@redhat.com>2023-03-09 10:35:57 -0500
commitaa52c9df4e64ea56c55cf922cd47a3e1253e0064 (patch)
tree77ba2b21de73ce3f24843886edb21635eee3d4b5
parent622a26ee2faff91df03532892ca386c39e36a5fe (diff)
downloadsos-aa52c9df4e64ea56c55cf922cd47a3e1253e0064.tar.gz
[powerpc]: To collect lparnumascore logs
This patch is to update powerpc plugin to collect lparnumascore logs. lparnumascore displays the NUMA affinity score for the running LPAR.Following commands are added lparnumascore lparnumascore -c cpu -d 4 lparnumascore -c mem -d 3 Suggested-by: Laurent Dufour <ldufour@linux.ibm.com> Signed-off-by: Korrapati Likhitha <likhitha@linux.ibm.com>
-rw-r--r--sos/report/plugins/powerpc.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/sos/report/plugins/powerpc.py b/sos/report/plugins/powerpc.py
index 50f88650..59ce6a52 100644
--- a/sos/report/plugins/powerpc.py
+++ b/sos/report/plugins/powerpc.py
@@ -76,6 +76,9 @@ class PowerPC(Plugin, IndependentPlugin):
"serv_config -l",
"bootlist -m both -r",
"lparstat -i",
+ "lparnumascore",
+ "lparnumascore -c cpu -d 4",
+ "lparnumascore -c mem -d 3",
"ctsnap -xrunrpttr -d %s" % (ctsnap_path),
"lsdevinfo"
])