Check / Skip cores for AIX5 Series (#25364)
This commit is contained in:
parent
f6a4803669
commit
b2b0938aff
1 changed files with 3 additions and 3 deletions
|
@ -74,7 +74,7 @@ class AIXHardware(Hardware):
|
|||
cpu_facts['processor'] = data[1]
|
||||
|
||||
rc, out, err = self.module.run_command("/usr/sbin/lsattr -El " + cpudev + " -a smt_threads")
|
||||
|
||||
if out:
|
||||
data = out.split(' ')
|
||||
cpu_facts['processor_cores'] = int(data[1])
|
||||
|
||||
|
|
Loading…
Reference in a new issue