Data ONTAP® PowerShell Toolkit

Switch to Data ONTAP 7-mode documentation.

Cmdlet: Get-NcFcpAdapterStatistics


NAME
Get-NcFcpAdapterStatistics

SYNOPSIS
Get a list of fcp adapter statistics.

SYNTAX
Get-NcFcpAdapterStatistics [[-Adapter] <String[]>] [-Attributes <FcpAdapterS
tatsInfo>] [-Controller <NcController[]>] [<CommonParameters>]

Get-NcFcpAdapterStatistics -Template [-Controller <NcController[]>] [<Common
Parameters>]

Get-NcFcpAdapterStatistics -Query <FcpAdapterStatsInfo> [-Attributes <FcpAda
pterStatsInfo>] [-Controller <NcController[]>] [<CommonParameters>]


DESCRIPTION
Get a list of fcp adapter statistics.


PARAMETERS
-Adapter <String[]>
The slot name of the FC adapter. Data ONTAP wildcards are permitted.

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

-Attributes <FcpAdapterStatsInfo>
For improved scalability in large clusters, provide an FcpAdapterStatsIn
fo object with various fields set to indicate which fields to return on
all objects. Undesired fields should remain set to null. Use "Get-NcFc
pAdapterStatistics -Template" to get the initially empty FcpAdapterStats
Info object. If not specified, all data is returned for each object.

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

-Template
Specify to get an empty FcpAdapterStatsInfo object for use with advanced
queries involving the Query attribute.

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

-Query <FcpAdapterStatsInfo>
For advanced queries, provide an FcpAdapterStatsInfo object with various
fields set to indicate which records to retrieve. Other fields should
remain set to null. Use "Get-NcFcpAdapterStatistics -Template" to get t
he initially empty FcpAdapterStatsInfo 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.Fcp.FcpAdapterStatsInfo


NOTES


Category: fcp
API: fcp-adapter-stats-get-iter
Family: cluster

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

C:\PS>Get-NcFcpAdapterStatistics


Get the adapter statistics for all the FCP adapters on the current cluster.


Adapter : 0a
AdapterResets : 0
CrcErrors :
DiscardedFrames :
FrameOverruns :
FrameUnderruns :
InitiatorsConnected : 0
InvalidXmitWords :
IsSfpDiagnosticsInternallyCalibrated : True
IsSfpOpticalTransceiverValid : True
IsSfpRxPowerInRange : True
IsSfpTxPowerInRange : True
LinkBreaks :
LipResets : 0
LrReceived : 0
LrSent : 0
NosReceived : 1
OlsReceived : 0
ProtocolErrors : 0
QueueDepth : 2048
ScsiRequestsDropped :
SfpConnector : LC
SfpDateCode : 11:02:02
SfpEncoding : 8B10B
SfpFcSpeedCapabilties :
SfpFormfactor : SFP
SfpPartNumber : FTLF8524P2BNV
SfpRev : A
SfpRxPower : 491.9 (uWatts)
SfpSerialNumber : PK613Q4
SfpTxPower : 386.5 (uWatts)
SfpVendorName : FINISAR CORP.
SfpVendorOui : 0:0:0
SfpWavelength : 850 (nm)
SpuriousInterrupts : 0
TotalLogins :
TotalLogouts :
IsSfpRxPowerInRangeSpecified : True
IsSfpTxPowerInRangeSpecified : True


-------------- Example 2 --------------

C:\PS>$q = Get-NcFcpAdapterStatistics -Template
$q.InitiatorsConnected = ">0"
Get-NcFcpAdapterStatistics -Query $q


Get all the FCP adapters with more than zero initiators connected.


Adapter : 0a
AdapterResets : 0
CrcErrors :
DiscardedFrames :
FrameOverruns :
FrameUnderruns :
InitiatorsConnected : 1
InvalidXmitWords :
IsSfpDiagnosticsInternallyCalibrated : True
IsSfpOpticalTransceiverValid : True
IsSfpRxPowerInRange : True
IsSfpTxPowerInRange : True
LinkBreaks :
LipResets : 0
LrReceived : 0
LrSent : 0
NosReceived : 1
OlsReceived : 0
ProtocolErrors : 0
QueueDepth : 2048
ScsiRequestsDropped :
SfpConnector : LC
SfpDateCode : 11:01:31
SfpEncoding : 8B10B
SfpFcSpeedCapabilties :
SfpFormfactor : SFP
SfpPartNumber : FTLF8524P2BNV
SfpRev : A
SfpRxPower : 536.4 (uWatts)
SfpSerialNumber : PK605L7
SfpTxPower : 381.6 (uWatts)
SfpVendorName : FINISAR CORP.
SfpVendorOui : 0:0:0
SfpWavelength : 850 (nm)
SpuriousInterrupts : 0
TotalLogins :
TotalLogouts :
IsSfpRxPowerInRangeSpecified : True
IsSfpTxPowerInRangeSpecified : True



RELATED LINKS
Get-NcFcpAdapter







 Data ONTAP® PowerShell Toolkit