RESOLUTION:
The following script can be run from the Script Console to obtain the number of physical CPUs associated with monitored hosts:
objs = #! CPUCounts #.getTopologyObjects();
msg = new StringBuilder();
for (obj in objs) {
host = obj.get("controllingDomainRoot");
msg.append("Host ");
msg.append(host.get("name"));
msg.append(" has ")
msg.append(obj.get("physicalCPUs"));
msg.append(" Physical CPUs \n");
}
return msg.toString();
The script can be run from the Script Console with the following steps:
1). Navigate to "Administration | Tooling | Script Console".
2). Select the Scripts tab, click the "Add" button, and then paste the contents of the script in the "Enter Script Text" field.
3). Click the "Run" button at the bottom of the "Run Script" window.
4). Copy and paste the output to a text file.
© 2024 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Terms of Use Privacy Cookie Preference Center