Skip to content

Show HPOVPortStatistics

Chris Lynch edited this page Jun 25, 2016 · 38 revisions

HP OneView 200 Library

NAME

Show-HPOVPortStatistics

SYNOPSIS

Display Interconnect Port Statistics.

SYNTAX

 Show-HPOVPortStatistics [[-Port] <Object>] [-Interconnect] <Object> [[-ApplianceConnection] <Object>]  [<CommonParameters>]
 Show-HPOVPortStatistics [-Port] <Object> [[-ApplianceConnection] <Object>]  [<CommonParameters>]

DESCRIPTION

This Cmdlet will display the utilization (Format-Table view) or error (Format-List) statistics of a given Interconnect or Interconnect Port. The default view is Format-Table. Piping output to Format-List will display error statistics.

PARAMETERS

-Port [<Object>]

The name of the Interconnect Port ID (i.e. X1 or D5) to retrieve.  If no Port ID is provided, all Ports of the Interconnect will be returned. 
Aliases None
Required? false
Position? 2
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false

-Interconnect <Object>

The Interconnect resource the Port ID is a member of. 
Aliases None
Required? true
Position? 1
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false

-ApplianceConnection [<Object>]

Aliases [-Appliance] 

Specify one or more HPOneView.Appliance.Connection object(s) or Name property value(s). If Resource object is provided via Pipeline, the ApplianceConnection property of the object will be used.

Default Value: ${Global:ConnectedSessions} | ? Default

Aliases None
Required? false
Position? named
Default value (${Global:ConnectedSessions} | ? Default)
Accept pipeline input? true (ByPropertyName)
Accept wildcard characters?    false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

INPUTS

System.Management.Automation.PSCustomObject

An Interconnect Port object.

OUTPUTS

HPOneView.Networking.PortStatistics.Ethernet [System.Management.Automation.PSCustomObject]

Ethernet Uplink Port statistics.

_**HPOneView.Networking.PortStatistics.FibreChannel [System.Management.Automation.PSCustomObject]**_

Ethernet Uplink Port statistics.

_**System.Collections.ArrayList**_

Collection of multiple Interconnect Port statistics.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> Show-HPOVPortStatistics -interconnect "Encl1, Interconnect 1" -port X1
Port Type: Ethernet

Name Rx Kb/s      Tx Kb/s      Rx Packets  Tx Packets  Rx Non-Unicast PPS Tx Non-Unicast PPS
---- -------      -------      ----------  ----------  ------------------ ------------------
X1   5Kbps (1min) 0Kbps (1min) 6pps (1min) 0pps (1min) 6pps (1min)        0pps (1min)


Displays the interface throughput statistics for X1 in a Format-Table display.

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Show-HPOVPortStatistics -interconnect "Encl1, Interconnect 1" -port X1  | FL
Port Type: Ethernet


Name                        : X4
Rx Kb/s                     : 5Kbps (1min)
Tx Kb/s                     : 0Kbps (1min)
In Discards                 :
Out Discards                :
In Errors                   :
Out Errors                  :
CRC Errors Rx/Tx            :
MTU Exceeded Discards Rx/Tx :
Giants Rx/Tx                :


Displays the interface error statistics for X1 in a Format-List display.

-------------------------- EXAMPLE 3 --------------------------
        
PS C:\> (Get-HPOVInterconnect 'Encl1, Interconnect 1').ports | ? name -eq X1 | Show-HPOVPortStatistics

Pipe an Interconnect Port object to Show-HPOVPortStatistics and show the interface throughput statistics.

-------------------------- EXAMPLE 4 --------------------------
        
PS C:\> Show-HPOVPortStatistics -interconnect 'Encl1, Interconnect 1'
Port Type: Ethernet

Name Rx Kb/s      Tx Kb/s       Rx Packets  Tx Packets   Rx Non-Unicast PPS Tx Non-Unicast PPS
---- -------      -------       ----------  ----------   ------------------ ------------------
d1   0Kbps (1min) 8Kbps (1min)  0pps (1min) 6pps (1min)  0pps (1min)        5pps (1min)
d10  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d11  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d12  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d13  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d14  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d15  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d16  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d2   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d3   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d4   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d5   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d6   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d7   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d8   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d9   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
X4   6Kbps (1min) 0Kbps (1min)  6pps (1min) 0pps (1min)  6pps (1min)        0pps (1min)
X5   6Kbps (1min) 0Kbps (1min)  4pps (1min) 0pps (1min)  4pps (1min)        0pps (1min)
X6   4Kbps (1min) 0Kbps (1min)  3pps (1min) 0pps (1min)  3pps (1min)        0pps (1min)
X7   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
X8   6Kbps (1min) 11Kbps (1min) 7pps (1min) 14pps (1min) 7pps (1min)        14pps (1min)




   Port Type: FibreChannel

Name Rx Throughput Tx Throughput Rx Frames (Total) Tx Frames (Total) Rx Bytes (Total) Tx Bytes (Total)
---- ------------- ------------- ----------------- ----------------- ---------------- ----------------
X1   0 MB/s        0 MB/s        56868             85074             84809592         146546884
X2   0 MB/s        0 MB/s        7999              7999              579644           622152
X3   0 MB/s        0 MB/s        0                 0                 0                0


Display all available ports of the provided Interconnect, using the Interconnect Name.

-------------------------- EXAMPLE 5 --------------------------
        
PS C:\> $Interconnect = Get-HPOVInterconnect "Encl1, Interconnect 1"
PS C:\> Show-HPOVPortStatistics $Interconnect 


Display all available ports of the provided Interconnect, using an Interconnect PowerShell object.


HP OneView 120 Library

NAME

Show-HPOVPortStatistics

SYNOPSIS

Display Interconnect Port Statistics.

SYNTAX

 Show-HPOVPortStatistics [[-port] <Object>] [-interconnect] <Object>  [<CommonParameters>]
 Show-HPOVPortStatistics [-port] <Object>  [<CommonParameters>]

DESCRIPTION

This cmdlet will display the utilization (Format-Table view) or error (Format-List) statistics of a given Interconnect or Interconnect Port. The default view is Format-Table. Piping output to Format-List will display error statistics.

PARAMETERS

-port [<Object>]

The name of the Interconnect Port ID (i.e. X1 or D5) to retrieve.  If no Port ID is provided, all Ports of the Interconnect will be returned. 
Aliases None
Required? false
Position? 2
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false

-interconnect <Object>

The Interconnect resource the Port ID is a member of. 
Aliases None
Required? true
Position? 1
Default value <none>
Accept pipeline input? false
Accept wildcard characters?    false

<CommonParameters>

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters (http://go.microsoft.com/fwlink/?LinkID=113216)

INPUTS

System.Management.Automation.PSCustomObject

An Interconnect Port object.

OUTPUTS

HPOneView.Networking.PortStatistics.Ethernet [System.Management.Automation.PSCustomObject]

Ethernet Uplink Port statistics.

_**HPOneView.Networking.PortStatistics.FibreChannel [System.Management.Automation.PSCustomObject]**_

Ethernet Uplink Port statistics.

_**System.Array**_

Collection of multiple Interconnect Port statistics.

#### RELATED LINKS

EXAMPLES

-------------------------- EXAMPLE 1 --------------------------
        
PS C:\> Show-HPOVPortStatistics -interconnect "Encl1, Interconnect 1" -port X1
Port Type: Ethernet

Name Rx Kb/s      Tx Kb/s      Rx Packets  Tx Packets  Rx Non-Unicast PPS Tx Non-Unicast PPS
---- -------      -------      ----------  ----------  ------------------ ------------------
X1   5Kbps (1min) 0Kbps (1min) 6pps (1min) 0pps (1min) 6pps (1min)        0pps (1min)


Displays the interface throughput statistics for X1 in a Format-Table display.

-------------------------- EXAMPLE 2 --------------------------
        
PS C:\> Show-HPOVPortStatistics -interconnect "Encl1, Interconnect 1" -port X1 | FL
Port Type: Ethernet


Name                        : X4
Rx Kb/s                     : 5Kbps (1min)
Tx Kb/s                     : 0Kbps (1min)
In Discards                 :
Out Discards                :
In Errors                   :
Out Errors                  :
CRC Errors Rx/Tx            :
MTU Exceeded Discards Rx/Tx :
Giants Rx/Tx                :


Displays the interface error statistics for X1 in a Format-List display.

-------------------------- EXAMPLE 3 --------------------------
        
PS C:\> (Get-HPOVInterconnect "Encl1, Interconnect 1").ports | ? { $_.name -eq "X1" } | Show-HPOVPortStatistics

Pipe an Interconnect Port object to Show-HPOVPortStatistics and show the interface throughput statistics.

-------------------------- EXAMPLE 4 --------------------------
        
PS C:\> Show-HPOVPortStatistics -interconnect "Encl1, Interconnect 1"
Port Type: Ethernet

Name Rx Kb/s      Tx Kb/s       Rx Packets  Tx Packets   Rx Non-Unicast PPS Tx Non-Unicast PPS
---- -------      -------       ----------  ----------   ------------------ ------------------
d1   0Kbps (1min) 8Kbps (1min)  0pps (1min) 6pps (1min)  0pps (1min)        5pps (1min)
d10  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d11  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d12  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d13  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d14  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d15  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d16  0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d2   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d3   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d4   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d5   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d6   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d7   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d8   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
d9   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
X4   6Kbps (1min) 0Kbps (1min)  6pps (1min) 0pps (1min)  6pps (1min)        0pps (1min)
X5   6Kbps (1min) 0Kbps (1min)  4pps (1min) 0pps (1min)  4pps (1min)        0pps (1min)
X6   4Kbps (1min) 0Kbps (1min)  3pps (1min) 0pps (1min)  3pps (1min)        0pps (1min)
X7   0Kbps (1min) 0Kbps (1min)  0pps (1min) 0pps (1min)  0pps (1min)        0pps (1min)
X8   6Kbps (1min) 11Kbps (1min) 7pps (1min) 14pps (1min) 7pps (1min)        14pps (1min)




   Port Type: FibreChannel

Name Rx Throughput Tx Throughput Rx Frames (Total) Tx Frames (Total) Rx Bytes (Total) Tx Bytes (Total)
---- ------------- ------------- ----------------- ----------------- ---------------- ----------------
X1   0 MB/s        0 MB/s        56868             85074             84809592         146546884
X2   0 MB/s        0 MB/s        7999              7999              579644           622152
X3   0 MB/s        0 MB/s        0                 0                 0                0


Display all available ports of the provided Interconnect, using the Interconnect Name.

-------------------------- EXAMPLE 5 --------------------------
        
PS C:\> $Interconnect = Get-HPOVInterconnect "Encl1, Interconnect 1"
PS C:\> Show-HPOVPortStatistics $Interconnect


Display all available ports of the provided Interconnect, using an Interconnect PowerShell object.


Wiki Table of Contents

Clone this wiki locally