The IBMTSSVC_PerformanceStatisticsService class provides
the method for getting the performance statistics for IBMTSSVC_Node,
IBMTSSVC_DiskDrive, IBMTSSVC_StorageVolume, and IBMTSSVC_BackendVolume.
To get the performance statistics instance, follow these
steps:
- Obtain the reference (CIMObjectPath) of an IBMTSSVC_PerformanceStatisticsService instance that
is associated with the IBMTSSVC_Cluster in which you get the performance statistics by traversing
the IBMTSSVC_HostedPerformanceStatisticsService association.
- Invoke the IBMTSSVC_PerformanceStatisticsService.GetStatisticsCollection()
method to get the performance statistics.
Use the following parameter specifications:
- The ElementTypes parameter is used to set the preferred statistics that
would be returned according to the preferred source:
- 8 to return the performance statistics of IBMTSSVC_StorageVolume
- 10 to return the performance statistics of the IBMTSSVC_DiskDrive
- 9 to return the performance statistics of the IBMTSSVC_BackendVolume
- 32768 to return the performance statistics of the IBMTSSVC_Node
- Set ManifestCollection to the reference (CIMObjectPath) of
CIM_BlockStatisticsManifestCollection.
- Set StatisticsFormat to 2 (which returns a comma-separated value
[CSV]).
The order of statistic properties that are returned by the GetStatisticsCollection method is
the same as the order of properties definitions in the Managed Object Format (MOF) file.
The IBMTSSVC_FCPortStatistics instance,
which extends from the CIM_FCPortStatistics instance, provides the
statistics for the FCPort. It is defined in Fibre Channel Initiator
Port Profile instead of the Block Server Performance profile. The
CIM client can get the statistics for the FCPort by enumerating IBMTSSVC_FCPortStatistics
instances.