Gets the statistical and performance data related to storage volumes of a storage system. Selection criteria for the –get
function can be specified using the parameters described below.
Please note that the output may be different for different storage systems
Syntax
|
Parameters
–system system
Specifies the system name of the storage system the logical volume belongs to. Wildcards (*) are supported.
–format format
Specifies the output format. Refer to the description of the "Format parameter".
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 output field DataVersion for ETERNUS DX/AF storage systems contains the information:
DataVersion = 2: data provided via SMI-S (ETERNUS DX/AF)
The following volume specific metrics are provided for ETERNUS DX/AF (DataVersion = 2):
Name | Description |
| Absolute point in time of last sampled statistical data. Example: |
| 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 |
| Time counter for write Hit IOs (ms) |
All Counters are defined as UINT64 (the maximum value being 18446744073709551615). However overflow is handled by the provider.
Examples
Output for logical volumes with
–format xmlp
(default)ETERNUS DX500 S3:
storstat volume -get -system 4621347002 -format xmlp
<Response> <Response> <ReturnCode> <Code>STORMAN_OK</Code> <CodeNumber>0</CodeNumber> <Text>successful</Text> <SubCode>0</SubCode> <SubCodeText>STORMAN_SUB_NONE</SubCodeText> <AdditionalInformation/> <MessageID>53</MessageID> <ConnectionID>5555D641C8740</ConnectionID> </ReturnCode> <Result> <StorageSystem> <StorageSystemName>4621347002</StorageSystemName> <StorageModel>STORMAN_STORAGE_MODEL_ETERNUS</StorageModel> <StorageVendor>STORMAN_STORAGE_VENDOR_FUJITSU</StorageVendor> <DataVersion>2</DataVersion> <StatusCode>0</StatusCode> <Status>successful</Status> <TimeLastSampled>2017-07-28 10:33:23.000</TimeLastSampled> <SampleInterval>300</SampleInterval> <StatisticsVolumes> <StatisticsVolume> <DeviceID>0</DeviceID> <TimeLastSampled>2017-07-28 10:33:23.000</TimeLastSampled> <ReadIOs>27</ReadIOs> <WriteIOs>0</WriteIOs> <KBytesRead>290</KBytesRead> <KBytesWritten>0</KBytesWritten> <MBytesRead>0</MBytesRead> <MBytesWritten>0</MBytesWritten> <ReadHitIOs>23</ReadHitIOs> <WriteHitIOs>0</WriteHitIOs> <ReadIOTimeCounter>45</ReadIOTimeCounter> <ReadHitIOTimeCounter>2</ReadHitIOTimeCounter> <WriteIOTimeCounter>0</WriteIOTimeCounter> <WriteHitIOTimeCounter>0</WriteHitIOTimeCounter> </StatisticsVolume> <StatisticsVolume> <DeviceID>1</DeviceID> <TimeLastSampled>2017-07-28 10:33:23.000</TimeLastSampled> <ReadIOs>23</ReadIOs> <WriteIOs>0</WriteIOs> <KBytesRead>46</KBytesRead> <KBytesWritten>0</KBytesWritten> <MBytesRead>0</MBytesRead> <MBytesWritten>0</MBytesWritten> <ReadHitIOs>22</ReadHitIOs> <WriteHitIOs>0</WriteHitIOs> <ReadIOTimeCounter>8</ReadIOTimeCounter> <ReadHitIOTimeCounter>1</ReadHitIOTimeCounter> <WriteIOTimeCounter>0</WriteIOTimeCounter> <WriteHitIOTimeCounter>0</WriteHitIOTimeCounter> </StatisticsVolume>
Output for logical volumes with
–format std
(default)ETERNUS DX500 S3:
storstat volume -get -system 4621347002
storage system name = 4621347002 storage vendor = STORMAN_STORAGE_VENDOR_FUJITSU storage model = STORMAN_STORAGE_MODEL_ETERNUS status = successful time last sampled = 2016-06-06 15:01:42.000 storage StatisticsVolume(s) DeviceID = 857 TimeLastSampled = 2017-07-28 15:08:24.000 ReadIOs = 30198 WriteIOs = 0 KBytesRead = 15099 KBytesWritten = 0 MBytesRead = 14 MBytesWritten = 0 ReadHitIOs = 30198 WriteHitIOs = 0 ReadIOTimeCounter = 2172 ReadHitIOTimeCounter = 2172 WriteIOTimeCounter = 0 WriteHitIOTimeCounter = 0 ...