Get-ServiceFabricApplicationLoadInformation
Gets application capacity parameters and load information for a Service Fabric application.
Syntax
Get-ServiceFabricApplicationLoadInformation
[-ApplicationName] <String>
[-TimeoutSec <Int32>]
[<CommonParameters>]
Description
The Get-ServiceFabricApplicationLoadInformation cmdlet gets application capacity parameters and load information for a Service Fabric application.
The output of Get-ServiceFabricApplicationLoadInformation contains the following information:
- Minimum Nodes: Minimum number of nodes specified for this application (from Application Capacity parameters).
- Maximum Nodes: Maximum number of nodes specified for this application (from Application Capacity parameters).
- Node Count: Number of nodes currently spanned by the application's child replicas.
- Application Load Metric Information: Load information for each metric defined in Application Capacity parameters. For each metric that is defined, the output contains the following information:
- Metric Name: Name of the metric.
- Reservation Capacity: Cluster capacity that is reserved in the cluster for this application.
- Application Load: Total Load of this application's child replicas.
- Application Capacity: Maximum permitted value of Application Load.
Examples
Example 1: Get load information
PS C:\> Get-ServiceFabricApplicationLoadInformation -ApplicationName fabric:/MyApp
This command gets load information for the application fabric://MyApp.
Parameters
-ApplicationName
Specifies a Service Fabric application.
Type: | String |
Position: | 0 |
Default value: | None |
Required: | True |
Accept pipeline input: | True |
Accept wildcard characters: | False |
-TimeoutSec
Specifies the time-out period, in seconds, for the operation.
Type: | Int32 |
Position: | Named |
Default value: | None |
Required: | False |
Accept pipeline input: | False |
Accept wildcard characters: | False |
Inputs
System.String
Outputs
System.Object