aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMurilo Opsfelder Araujo <muriloo@linux.ibm.com>2019-12-24 11:35:20 -0300
committerPavel Moravec <pmoravec@redhat.com>2019-12-27 09:16:27 +0100
commit03e3a9ca9a9d60fee50f7b22f65cd84d65cfed2f (patch)
treed2be04b7882fd641e2504c55cccb67186f3e4d2a
parente09dbdd2bc3e2323e659b77409ea66eb6a155610 (diff)
downloadsos-03e3a9ca9a9d60fee50f7b22f65cd84d65cfed2f.tar.gz
[powerpc] Add "ppc64_cpu --info" to the list of commands
The command "ppc64_cpu --info" produces a handy output to easily determine which threads are online and which ones are offline. For example: $ ppc64_cpu --info Core 0: 0* 1* 2 3 Core 1: 4* 5* 6 7 Core 2: 8* 9* 10 11 Core 3: 12* 13* 14 15 Core 4: 16* 17* 18 19 Core 5: 20* 21* 22 23 Core 6: 24 25 26 27 Core 7: 28 29 30 31 Core 8: 32* 33* 34 35 Core 9: 36* 37* 38 39 Core 10: 40* 41* 42 43 Core 11: 44* 45* 46 47 Core 12: 48* 49* 50 51 Core 13: 52* 53* 54 55 Core 14: 56 57 58 59 Core 15: 60 61 62 63 Core 16: 64* 65* 66 67 Core 17: 68* 69* 70 71 Core 18: 72* 73* 74 75 Core 19: 76* 77* 78 79 Core 20: 80* 81* 82 83 Core 21: 84* 85* 86 87 Core 22: 88* 89* 90 91 Core 23: 92* 93* 94 95 Core 24: 96* 97* 98 99 Core 25: 100* 101* 102 103 Core 26: 104* 105* 106 107 Core 27: 108* 109* 110 111 Core 28: 112* 113* 114 115 Core 29: 116* 117* 118 119 Core 30: 120* 121* 122 123 Core 31: 124* 125* 126 127 Resolves: #1903 Signed-off-by: Murilo Opsfelder Araujo <muriloo@linux.ibm.com> Signed-off-by: Pavel Moravec <pmoravec@redhat.com>
-rw-r--r--sos/plugins/powerpc.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/sos/plugins/powerpc.py b/sos/plugins/powerpc.py
index 8a859990..e522b991 100644
--- a/sos/plugins/powerpc.py
+++ b/sos/plugins/powerpc.py
@@ -45,6 +45,7 @@ class PowerPC(Plugin, RedHatPlugin, UbuntuPlugin, DebianPlugin):
"/var/lib/lsvpd/"
])
self.add_cmd_output([
+ "ppc64_cpu --info",
"ppc64_cpu --smt",
"ppc64_cpu --cores-present",
"ppc64_cpu --cores-on",