Get-NCAzCacheServerStatistics
The Get-NCAzCacheServerStatistics cmdlet retrieves and displays performance counter values for a specified cache on one or more cache servers. This cmdlet can be used to monitor cache server performance.
Get-NCAzCacheServerStatistics -EnvName -CacheName [-Server] [-CounterNames] [-Format] [-DoNotShowDefaultCounters] [-NoLogo]
Example
- This command displays the default counters for the demoCache on the default node in the Production environment:
Get-NCAzCacheServerStatistics -EnvName Production -CacheName demoCache
- This command displays the default counters for the demoCache from the client nodes 10.0.0.4 and 10.0.0.5 in the Production environment:
Get-NCAzCacheServerStatistics -EnvName Production -CacheName demoCache -Server "10.0.0.4,10.0.0.5"
Properties
Note
Parameters marked with an asterisk (*) are required. All others are optional.
| Parameter | Data Type | Description | Default Value |
|---|---|---|---|
-EnvName* |
<String> |
Specifies the name of the environment for which the cache server statistics are being retrieved. | - |
-CacheName* |
<String> |
Specifies the name of the cache for which performance counters are being fetched. | - |
-Server |
<String> |
Specifies one or more server names where the NCache Service and the cache with the specified cache name are running. | Local Machine |
-CounterNames |
<String> |
Specifies one or more counter names, separated by commas (,), that are not included in the default counters to be displayed. |
- |
-DoNotShowDefaultCounters |
<SwitchParameter> |
Excludes the default counters from the output when custom counter names are provided. | False |
-Format |
<String> |
Specifies the format for the output. Possible values: Tabular, CSV. Default is Tabular. |
Tabular |
-NoLogo |
<SwitchParameter> |
Indicates whether to exclude logo details during client addition. | - |