< Back
Get-SVTmetric
Post
NAME Get-SVTmetric
SYNOPSIS
Display the performance information about the specified HPE SimpliVity resource(s)
SYNTAX
Get-SVTmetric [-HostName] <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[<CommonParameters>]
Get-SVTmetric [-ClusterName] <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>]
[-Chart] [<CommonParameters>]
Get-SVTmetric [-VMName] <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[<CommonParameters>]
Get-SVTmetric [-SVTobject] <PSObject> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[<CommonParameters>]
DESCRIPTION
Displays the performance metrics for one of the following specified HPE SimpliVity resources:
- Cluster
- Host
- VM
In addition, output from the Get-SVTcluster, Get-Host and Get-SVTvm commands is accepted as input.
PARAMETERS
-ClusterName <String[]>
Show performance metrics for the specified SimpliVity cluster(s)
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostName <String[]>
Show performance metrics for the specified SimpliVity node(s)
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VMName <String[]>
Show performance metrics for the specified virtual machine(s) hosted on SimpliVity storage
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SVTobject <PSObject>
Used to accept input from the pipeline. Accepts HPESimpliVity objects with a specific type
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-OffsetHour <Int32>
Show performance metrics starting from the specified offset (hours from now, default is now)
Required? false
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Hour <Int32>
Show performance metrics for the specifed number of hours (starting from OffsetHour)
Required? false
Position? 3
Default value 24
Accept pipeline input? false
Accept wildcard characters? false
-Resolution <String>
The resolution in seconds, minutes, hours or days
Required? false
Position? 4
Default value HOUR
Accept pipeline input? false
Accept wildcard characters? false
-Chart [<SwitchParameter>]
Create a chart instead of showing performance metrics. The chart file is saved to the current folder. One
chart is
created for each object (e.g. cluster, host or VM)
Required? false
Position? named
Default value False
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
HPE.SimpliVity.Cluster
HPE.SimpliVity.Host
HPE.SimpliVity.VirtualMachine
OUTPUTS
HPE.SimpliVity.Metric
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-SVTmetric -ClusterName Production
Shows performance metrics about the specified cluster, using the default hour setting (24 hours) and resolution
(every hour)
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-SVThost | Get-SVTmetric -Hour 1 -Resolution SECOND
Shows performance metrics for all hosts in the federation, for every second of the last hour
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-SVTvm | Where VMname -match "SQL" | Get-SVTmetric
Show performance metrics for every VM that has "SQL" in its name
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-SVTcluster -ClusterName DR | Get-SVTmetric -Hour 1440 -Resolution DAY
Show daily performance metrics for the last two months for the specified cluster
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Get-SVThost | Get-Metric -Chart -Verbose
Create chart(s) instead of showing the metric data. Chart files are created in the current folder.
Use filtering when creating charts for virtual machines to avoid creating a lot of charts.
-------------------------- EXAMPLE 6 --------------------------
PS C:\\>Get-SVThost -HostName MyHost | Get-Metric -Chart | Foreach-Object {Invoke-Item $_}
Create a metrics chart for the specified host and display it. Note that Invoke-Item only works with
image files when the Desktop Experience Feature is installed (may not be installed on some servers)
RELATED LINKS
SYNOPSIS
Display the performance information about the specified HPE SimpliVity resource(s)
SYNTAX
Get-SVTmetric [-HostName] <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[<CommonParameters>]
Get-SVTmetric [-ClusterName] <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>]
[-Chart] [<CommonParameters>]
Get-SVTmetric [-VMName] <String[]> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[<CommonParameters>]
Get-SVTmetric [-SVTobject] <PSObject> [[-OffsetHour] <Int32>] [[-Hour] <Int32>] [[-Resolution] <String>] [-Chart]
[<CommonParameters>]
DESCRIPTION
Displays the performance metrics for one of the following specified HPE SimpliVity resources:
- Cluster
- Host
- VM
In addition, output from the Get-SVTcluster, Get-Host and Get-SVTvm commands is accepted as input.
PARAMETERS
-ClusterName <String[]>
Show performance metrics for the specified SimpliVity cluster(s)
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-HostName <String[]>
Show performance metrics for the specified SimpliVity node(s)
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-VMName <String[]>
Show performance metrics for the specified virtual machine(s) hosted on SimpliVity storage
Required? true
Position? 1
Default value
Accept pipeline input? false
Accept wildcard characters? false
-SVTobject <PSObject>
Used to accept input from the pipeline. Accepts HPESimpliVity objects with a specific type
Required? true
Position? 1
Default value
Accept pipeline input? true (ByValue)
Accept wildcard characters? false
-OffsetHour <Int32>
Show performance metrics starting from the specified offset (hours from now, default is now)
Required? false
Position? 2
Default value 0
Accept pipeline input? false
Accept wildcard characters? false
-Hour <Int32>
Show performance metrics for the specifed number of hours (starting from OffsetHour)
Required? false
Position? 3
Default value 24
Accept pipeline input? false
Accept wildcard characters? false
-Resolution <String>
The resolution in seconds, minutes, hours or days
Required? false
Position? 4
Default value HOUR
Accept pipeline input? false
Accept wildcard characters? false
-Chart [<SwitchParameter>]
Create a chart instead of showing performance metrics. The chart file is saved to the current folder. One
chart is
created for each object (e.g. cluster, host or VM)
Required? false
Position? named
Default value False
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 (https:/go.microsoft.com/fwlink/?LinkID=113216).
INPUTS
System.String
HPE.SimpliVity.Cluster
HPE.SimpliVity.Host
HPE.SimpliVity.VirtualMachine
OUTPUTS
HPE.SimpliVity.Metric
-------------------------- EXAMPLE 1 --------------------------
PS C:\\>Get-SVTmetric -ClusterName Production
Shows performance metrics about the specified cluster, using the default hour setting (24 hours) and resolution
(every hour)
-------------------------- EXAMPLE 2 --------------------------
PS C:\\>Get-SVThost | Get-SVTmetric -Hour 1 -Resolution SECOND
Shows performance metrics for all hosts in the federation, for every second of the last hour
-------------------------- EXAMPLE 3 --------------------------
PS C:\\>Get-SVTvm | Where VMname -match "SQL" | Get-SVTmetric
Show performance metrics for every VM that has "SQL" in its name
-------------------------- EXAMPLE 4 --------------------------
PS C:\\>Get-SVTcluster -ClusterName DR | Get-SVTmetric -Hour 1440 -Resolution DAY
Show daily performance metrics for the last two months for the specified cluster
-------------------------- EXAMPLE 5 --------------------------
PS C:\\>Get-SVThost | Get-Metric -Chart -Verbose
Create chart(s) instead of showing the metric data. Chart files are created in the current folder.
Use filtering when creating charts for virtual machines to avoid creating a lot of charts.
-------------------------- EXAMPLE 6 --------------------------
PS C:\\>Get-SVThost -HostName MyHost | Get-Metric -Chart | Foreach-Object {Invoke-Item $_}
Create a metrics chart for the specified host and display it. Note that Invoke-Item only works with
image files when the Desktop Experience Feature is installed (may not be installed on some servers)
RELATED LINKS