|
|
Data ONTAP® PowerShell Toolkit
|
Cmdlet: Get-NcIscsiStatistics
NAME
Get-NcIscsiStatistics
SYNOPSIS
Get a list of iscsi statistics.
SYNTAX
Get-NcIscsiStatistics [-Attributes <IscsiStatsInfo>] [-VserverContext <Strin
g>] [-Controller <NcController[]>] [<CommonParameters>]
Get-NcIscsiStatistics [-Fill] -Template [-VserverContext <String>] [-Control
ler <NcController[]>] [<CommonParameters>]
Get-NcIscsiStatistics -Query <IscsiStatsInfo> [-Attributes <IscsiStatsInfo>]
[-VserverContext <String>] [-Controller <NcController[]>] [<CommonParameter
s>]
DESCRIPTION
Get a list of iscsi statistics.
PARAMETERS
-Attributes <IscsiStatsInfo>
For improved scalability in large clusters, provide an IscsiStatsInfo ob
ject with various fields set to indicate which fields to return on all o
bjects. Undesired fields should remain set to null. Use "Get-NcIscsiSt
atistics -Template" to get the initially empty IscsiStatsInfo object. I
f not specified, all data is returned for each object.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VserverContext <String>
Vserver to which to direct this command. If the currently connected con
troller (as embodied by an NcController object) represents a cluster, th
ere are multiple means to address commands to one of its vservers. Eith
er set the Vserver field on the NcController object to direct all subseq
uent commands to that vserver, or supply the VserverContext parameter to
an individual cmdlet. Only cmdlets which may be invoked on vservers of
fer the VserverContext parameter.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Controller <NcController[]>
A clustered Data ONTAP controller to receive this cmdlet, as embodied by
an NcController object. This parameter is returned by the Connect-NcCo
ntroller cmdlet. If not specified, the value in the global variable Cur
rentNcController is used. In the latter case, if CurrentNcController co
ntains a collection of NcController objects, this cmdlet is invoked on e
ach controller in succession.
Required? false
Position? named
Default value
Accept pipeline input? true (ByValue, ByPropertyName)
Accept wildcard characters? false
-Fill
Specify when using the Template parameter to recursively fill in all obj
ect types.
Required? false
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Template
Specify to get an empty IscsiStatsInfo object for use with advanced quer
ies involving the Query attribute.
Required? true
Position? named
Default value
Accept pipeline input? false
Accept wildcard characters? false
-Query <IscsiStatsInfo>
For advanced queries, provide an IscsiStatsInfo object with various fiel
ds set to indicate which records to retrieve. Other fields should remai
n set to null. Use "Get-NcIscsiStatistics -Template" to get the initial
ly empty IscsiStatsInfo object.
Required? true
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
DataONTAP.C.Types.Iscsi.IscsiStatsInfo
NOTES
Category: iscsi
API: iscsi-stats-get-iter
Family: cluster, vserver
-------------- Example 1 --------------
C:\PS>Get-NcIscsiStatistics
Get the statistics for all of the iSCSI services running on the current clus
ter.
Vserver IscsiCdbStats IscsiErrorStats
IscsiReceivedStats IscsiTransmittedStats
------- ------------- ---------------
------------------ ---------------------
Barker01 42057120 0
42650861 43969518
Barker03 0 0
0 0
Kumar01 221378 0
279207 299867
Lionetti01 13 0
96 88
-------------- Example 2 --------------
C:\PS>$q = Get-NcIscsiStatistics -Template -Fill
$q.IscsiReceivedStats.Info.Total = ">200000"
Get-NcIscsiStatistics -Query $q
Get iSCSI statistics information for iSCSI services that have received more
than 200,000 PDUs.
Vserver IscsiCdbStats IscsiErrorStats
IscsiReceivedStats IscsiTransmittedStats
------- ------------- ---------------
------------------ ---------------------
Barker01 42073501 0
42667346 43986577
Kumar01 221384 0
279213 299879
RELATED LINKS
| Copyright © 2013 NetApp. All rights reserved. Use is subject to license terms. |
|
Data ONTAP® PowerShell Toolkit
|