Data ONTAP® PowerShell Toolkit

Cmdlet: Get-NaLunStatistics


NAME
Get-NaLunStatistics

SYNOPSIS
Get block-protocol access statistics (in bytes) for LUN(s).

SYNTAX
Get-NaLunStatistics [[-Path] <String>] [-Controller <NaController>] [-Warnin
gAction <ActionPreference>] [-WarningVariable <String>] [<CommonParameters>]


DESCRIPTION
Get block-protocol access statistics (in bytes) for LUN(s).


PARAMETERS
-Path <String>
Path of the LUN. If path is specified, only the stats of that LUN is re
turned. If path is not specified, stats of all LUNs are returned.

Required? false
Position? 1
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false

-Controller <NaController>
The DataONTAP controller object, embodied by an NaController object. Th
is parameter is returned by the Connect-NaController cmdlet. If not spe
cified, the value in the global variable CurrentNaController is used.

Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningAction <ActionPreference>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

-WarningVariable <String>


Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false

<CommonParameters>
This cmdlet supports the common parameters: Verbose, Debug,
ErrorAction, ErrorVariable, WarningAction, WarningVariable,
OutBuffer and OutVariable. For more information, type,
"get-help about_commonparameters".

INPUTS



OUTPUTS
NetApp.Ontapi.Filer.Lun.LunStatsInfo


NOTES


Category: lun
API: lun-stats-list-info

-------------- Example 1 --------------

C:\PS>Get-NaLunStatistics


Get statistics for all LUNs.


BlockSize : 512
LastZeroed : 61504
OtherOps : 0
Path : /vol/vol2/lun2clone
ReadBlocks : 0
ReadOps : 0
WriteBlocks : 0
WriteOps : 0

BlockSize : 512
LastZeroed : 61504
OtherOps : 0
Path : /vol/vol2/lun100
ReadBlocks : 0
ReadOps : 0
WriteBlocks : 0
WriteOps : 0

BlockSize : 512
LastZeroed : 61504
OtherOps : 0
Path : /vol/vol10/{6e8dbad4-894b-413a-b9cc-3cbb4ae291a5}.rws
ReadBlocks : 0
ReadOps : 0
WriteBlocks : 0
WriteOps : 0

BlockSize : 512
LastZeroed : 61504
OtherOps : 0
Path : /vol/vol10/lun6
ReadBlocks : 0
ReadOps : 0
WriteBlocks : 0
WriteOps : 0

BlockSize : 512
LastZeroed : 61504
OtherOps : 0
Path : /vol/vol10/test
ReadBlocks : 0
ReadOps : 0
WriteBlocks : 0
WriteOps : 0



RELATED LINKS
Clear-NaLunStatistics







 Data ONTAP® PowerShell Toolkit