Get-ClusterHealth
Get-ClusterHealth
cmdlet lists all nodes registered on cache specified. It displays the status of the cache, connection and the number of connected clients.
Get-ClusterHealth [-CacheName] [-Server] [-Continuous] [-SampleInterval] [-NoLogo]
These properties are explained in detail in the Properties section.
Examples
- This example displays the nodes of the cache, status, connection among them and connected clients count for the cache demoCache.
Get-ClusterHealth -CacheName demoCache
- This command displays the nodes, status, connection among the nodes and connected clients on a specific server for the cache demoCache.
Get-ClusterHealth -CacheName demoCache -Server 20.200.20.11
- This command displays the nodes of the cache, status, connection among them and connected clients for the cache demoCache after every default sample interval.
Get-ClusterHealth -CacheName demoCache -Continuous
- This command displays the nodes of the cache, status, connection among them and connected clients for the cache demoCache after every 3 second iterval.
Get-ClusterHealth -CacheName demoCache -Continuous -SampleInterval 3
Properties
Note: The parameters with asterisk (*) on their names are the required parameters and the rest are optional.
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-CacheName* |
<String> |
Specifies the name of the cache for which the cluster health needs to be displayed. | - |
-Server |
<String> |
Specifies the server name for which cluster health needs to be displayed. | Local Machine |
-Continuous |
<SwitchParameter> |
Specified in order to get the statistics continuously. | - |
-SampleInterval |
<Integer> |
Specifies the time between samples in seconds. Minimum value is 3 seconds. | 1 |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |