Get the statistical and performance data related to volumes, front end ports and controllers of a storage system. Selection criteria for the –get
function can be specified using the parameters described below.
Syntax
|
Parameters
–system system
Specify the system name of the storage system to get information from. Wildcards (*) are supported.
–format format
Specifies the output format. Refer to the description of the "Format parameter".
–connectparam
Refer to the description of the "Connection parameters".
Return codes
Error Code | Name | Error Type |
0 |
| Function successful. |
3 |
| Version not supported. |
7 |
| Specified parameters invalid. |
13 |
| Error in StorMan communication between client and server. |
16 |
| Unexpected error in function. |
18 |
| Matching object could not be provided. |
21 |
| Function rejected by provider. |
22 |
| Provider or database not available. |
36 |
| User / password for StorMan not valid |
Output
The following volume and port specific metrics are provided for ETERNUS DX/AF (DataVersion = 2):
Name | Description |
| Absolute point in time of last sampled statistical data. Format: Example: |
Volume specific: | |
| Device Id of the volume |
| Number of read IOs (Counter) |
| Number of write IOs (Counter) |
| Amount of MB read (Counter) |
| Amount of MB written (Counter) |
| Amount of KB read (Counter) |
| Amount of KB written (Counter) |
| Number of read hit IOs (Counter) |
| Number of write hit IOs (Counter) |
| Time counter for read IOs (ms) |
| Time counter for read hit IOs (ms) |
| Time counter for write IOs (ms) |
| Time counter for write hit IOs (ms) |
Port specific: | |
| Name of the port |
PortID | ID of the port |
| Identifier of the Controller |
| Number of read IOs / port (Counter) |
| Number of write IOs / port (Counter) |
| Amount of MB read / port (Counter) |
| Amount of MB written / port (Counter) |
| Amount of KB read / port (Counter) |
| Amount of KB written / port (Counter) |
| Amount of KB transferred / port (Counter) |
| Time counter for read IOs (ms) |
| Time counter for write IOs (ms) |
Disk specific: | |
| ID if the disk |
| Number of read IOs |
| Number of write IOs |
| Amount of KB transferred |
Examples
Output for all statistics of ETERNUS DX500 S3 with -format xmlp (default)
storstat all -get -system 4621349005-format xmlp
<Response> <ReturnCode> <Code>STORMAN_OK</Code> <CodeNumber>0</CodeNumber> <Text>successful</Text> <SubCode>0</SubCode> <SubCodeText>STORMAN_SUB_NONE</SubCodeText> <MessageID>2</MessageID> </ReturnCode> <Result> <StorageSystem> <StorageSystemName>4531107011</StorageSystemName> <StorageModel>STORMAN_STORAGE_MODEL_ETERNUS</StorageModel> <StorageVendor>STORMAN_STORAGE_VENDOR_FUJITSU</StorageVendor> <TimeLastSampled>2016-06-06 15:01:51.000</TimeLastSampled> <SampleInterval>60</SampleInterval> <UTCDiff>-120</UTCDiff> <StatusCode>0</StatusCode> <Status>successful</Status> <StatisticsVolumes> <StatisticsVolume> <DeviceID>0</DeviceID> <ReadIOs>0</ReadIOs> <WriteIOs>0</WriteIOs> <MBytesRead>0</MBytesRead> <MBytesWritten>0</MBytesWritten> <ResponseTimeRead>0</ResponseTimeRead> <ResponseTimeWrite>0</ResponseTimeWrite> <ResponseTimeTotal>0</ResponseTimeTotal> <CacheHitRateRead>0</CacheHitRateRead> <CacheHitRateWrite>0</CacheHitRateWrite> <CacheHitRatePrefetch>0</CacheHitRatePrefetch> <CacheHitRateTotal>0</CacheHitRateTotal> </StatisticsVolume> ... <StatisticsPorts> <StatisticsPort> <PortName>FCP_CM00CA00P00</PortName> <PortID>500000E0DA87E22F</PortID> <ControllerName>CM00</ControllerName> <ReadIOs>120</ReadIOs> <WriteIOs>60</WriteIOs> <MBytesRead>60</MBytesRead> <MBytesWritten>60</MBytesWritten> </StatisticsPort> ... </StatisticsPorts> <StatisticsControllers> <StatisticsController> <ControllerName>CM00</ControllerName> <BusyMain>1</BusyMain> <DirtyCache>0</DirtyCache> </StorageSystem> </Result> </Response>