Hope this is the correct place to post. When I clicked on the "CIM/SMASH SD"K forum link this is where it led. If there is a better place, please let me know.
I have just installed vSphere on a test system to start developing some management apps. Using CIM/SMASH, the first thing we were looking for was to get processor load percentage. CIM_Processor (per physical processor) and CIM_ProcessorCore (per core) each have a "LoadPercentage" property. Perfect. But the included output is what I get (dual core system). The 'LoadPercentage' property is None. If it were '0' I would understand, but it looks like the CIMOM is not providing the value. I understand if there is not hardware instrumentation provided by the vendor why some values would be missing, but LoadPercentage is an OS (ESXi) function.
Could someone please shed some light on this for me?
Thanks
rabinnh
---------------------------------------------------------------------------------------------
20120203 17:03:25 Connection to https://192.168.0.102:5989
20120203 17:03:25 Check classe CIM_ProcessorCore
----------------------
CIM_ProcessorCore
[(u'RequestedState', 12L), (u'HealthState', 5L), (u'StatusDescriptions', None), (u'TransitioningToState', 12L), (u'LoadPercentage', None), (u'CommunicationStatus', None), (u'DetailedStatus', None), (u'OperationalStatus', [2L]), (u'Status', None), (u'Description', u'CPU 1 Core 1'), (u'InstallDate', None), (u'EnabledDefault', 2L), (u'EnabledState', 2L), (u'TimeOfLastStateChange', None), (u'CoreEnabledState', 2L), (u'PrimaryStatus', None), (u'ElementName', u'CPU 1 Core 1'), (u'Name', None), (u'OtherEnabledState', None), (u'InstanceID', u'2001.0000'), (u'Caption', u'CPU 1 Core 1'), (u'OperatingStatus', None), (u'AvailableRequestedStates', None)]
----------------------
CIM_ProcessorCore
[(u'RequestedState', 12L), (u'HealthState', 5L), (u'StatusDescriptions', None), (u'TransitioningToState', 12L), (u'LoadPercentage', None), (u'CommunicationStatus', None), (u'DetailedStatus', None), (u'OperationalStatus', [2L]), (u'Status', None), (u'Description', u'CPU 1 Core 2'), (u'InstallDate', None), (u'EnabledDefault', 2L), (u'EnabledState', 2L), (u'TimeOfLastStateChange', None), (u'CoreEnabledState', 2L), (u'PrimaryStatus', None), (u'ElementName', u'CPU 1 Core 2'), (u'Name', None), (u'OtherEnabledState', None), (u'InstanceID', u'2001.0001'), (u'Caption', u'CPU 1 Core 2'), (u'OperatingStatus', None), (u'AvailableRequestedStates', None)]
20120203 17:03:25 Check classe CIM_Processor
----------------------
CIM_Processor
[(u'RequestedState', 12L), (u'HealthState', 5L), (u'ModelName', u'Intel(R) Core(TM) i3 CPU 550 @ 3.20GHz'), (u'MaxQuiesceTime', None), (u'StatusDescriptions', None), (u'Family', 198L), (u'TransitioningToState', 12L), (u'Characteristics', [2L, 4L, 5L, 6L, 7L]), (u'LoadPercentage', None), (u'AddressWidth', None), (u'CommunicationStatus', None), (u'SystemName', u'00020003-0004-0005-0006-000700080009'), (u'Stepping', u'5'), (u'CreationClassName', u'OMC_Processor'), (u'NumberOfEnabledCores', 2L), (u'Availability', None), (u'DetailedStatus', None), (u'OtherIdentifyingInfo', [u'0x ff']), (u'InstanceID', None), (u'PowerManagementSupported', None), (u'IdentifyingDescriptions', [u'Brand ID']), (u'ErrorCleared', None), (u'OtherFamilyDescription', None), (u'OperationalStatus', [2L]), (u'Role', None), (u'OperatingStatus', None), (u'SystemCreationClassName', u'OMC_UnitaryComputerSystem'), (u'Status', None), (u'Description', u'CPU 1'), (u'InstallDate', None), (u'EnabledDefault', 2L), (u'EnabledState', 2L), (u'AdditionalAvailability', None), (u'TimeOfLastStateChange', None), (u'ExternalBusClockSpeed', 133L), (u'StatusInfo', None), (u'DataWidth', 64L), (u'EnabledProcessorCharacteristics', [2L, 2L, 2L, 2L, 2L]), (u'CurrentClockSpeed', 3200L), (u'UniqueID', None), (u'PrimaryStatus', None), (u'Name', None), (u'ElementName', u'CPU 1'), (u'PowerOnHours', None), (u'TotalPowerOnHours', None), (u'OtherEnabledState', None), (u'ErrorDescription', None), (u'AvailableRequestedStates', None), (u'Caption', u'CPU 1'), (u'MaxClockSpeed', 3200L), (u'DeviceID', u'3.0'), (u'PowerManagementCapabilities', None), (u'LastErrorCode', None), (u'UpgradeMethod', 1L), (u'CPUStatus', 1L)]