There are a few PowerShell SDK cmdlets that provide volume metric information that can be useful in reporting scenarios.
When using the space metric cmdlets, the system space will not have a value as that is only reported at the FlashArray level. To get that information, use the Get-PfaArraySpaceMetrics.
-
Get-PfaAllVolumeIOMetrics -
Get-PfaAllVolumeIOMetricsAverage -
Get-PfaAllVolumeIOMetricsTotal -
Get-PfaAllVolumeSpaceMetrics -
Get-PfaAllVolumeSpaceMetricsByTimeRange -
Get-PfaVolumeIOMetrics -
Get-PfaVolumeIOMetricsAverage -
Get-PfaVolumeIOMetricsByTimeRange -
Get-PfaVolumeSpaceMetrics -
Get-PfaVolumeSpaceMetricsByTimeRange
Below is an example of using the
Get-PfaVolumeSpaceMetrics for an individual volume which shows details related to space reporting (snapshots, data reduction, thin provisioning, total reduction).
PS C:\> Get-PfaVolumeSpaceMetrics -Array $FlashArray -VolumeName 'TPCE-FlatFiles-Dataset'
total : 745852677691
name : TPCE-FlatFiles-Dataset
system :
snapshots : 0
volumes : 745852677691
data_reduction : 3.122348960160198
size : 4398046511104
shared_space :
thin_provisioning : 0.47048936784267426
total_reduction : 5.896669057312716
Below is an example of using the Get-PfaVolumeIOMetrics for an individual volume which shows details related to I/O reporting (reads, writes). For detailed information on how to calculate and intepret the different properties, read Calculating Block Size with the PowerShell SDK.
PS C:\> Get-PfaVolumeIOMetrics -Array $FlashArray -VolumeName 'Apps-CSV-1'
writes_per_sec : 85
name : Apps-CSV-1
usec_per_write_op : 17258
output_per_sec : 0
reads_per_sec : 0
input_per_sec : 83962342
time : 2016-11-01T21:59:54Z
usec_per_read_op : 0