IMA_GetStatisticsProperties - Gets the statistics properties of the specified target, LU, or PNP
cc [ flag... ] file... -lima [ library... ] #include <ima.h> IMA_STATUS IMA_GetStatisticsProperties( /* in */ IMA_OID oid, /* out */ IMA_STATISTICS_PROPERTIES *pProps );
The object ID of the target, logical unit (LU) ,or physical network port (PNP) whose statistics are retrieved.
A pointer to an IMA_STATISTICS_PROPERTIES data structure. If returned successfully, this data structure contains the statistics properties of the specified object.
The IMA_GetStatisticsProperties() API gets the statistics properties of the specified target, LU, or PNP.
Returned if setting statistics collection is not supported for the specified object
Returned if the pProps argument is NULL, or specifies a memory area to which data cannot be written
Returned if the oid argument does not specify a valid object type
Returned if the oid argument does not specify a target, LU, or PNP object
Returned if the oid argument does not specify a target, LU, or PNP object known to the system
See attributes(7) for descriptions of the following attributes:
|
libima(3LIB), attributes(7), IMA_GetDeviceStatistics(3IMA), IMA_GetTargetErrorStatistics(3IMA), IMA_SetStatisticsCollection(3IMA)