Verify Cache Health
PowerShell provides the following command to get a list of all the caches registered on a particular server along with details like their topology, status (whether they are running or stopped), and their process ID.
Get-Caches [-Detail] [-NoLogo] [-Port] [-Server]
Note
You can also get the statistics of the specified caches by runnning the Get-CacheServerStatistics.
Examples
To get a list of all the caches registered on the local server and their respective details on the server node 20.200.20.29, run the following command:
Get-Caches –Detail –Server 20.200.20.29
On executing this command, the following screen pops up:
Parameters | Data Types | Description | Default Value |
---|---|---|---|
-Server |
<String> |
Specifies the server node for which the user wants to get the list of caches registered. | - |
-Port |
<Integer> |
Specifies the server port if the server channel is not using the default port. | 8250 |
-Detail |
<SwitchParameter> |
Displays comparatively detailed information about the caches registered on the server. This information includes Cache Name, Scheme, Status, Process ID, Cluster Size, Time, Capacity, and Count. | False |
-NoLogo |
<SwitchParameter> |
Suppresses display of the logo banner. | False |