Monitor Cache Using Statistics
This section will guide you through the process of monitoring NCache performance counters via the Statistics option of the NCache Management Center.
Note
The default dashboard displays the counters based on your selected cache and its store type. You can monitor NCache Counters for caches with different store types by following the same steps.
Prerequisite
Make sure NCache Service is started. If it is not started, do the following:
In PowerShell, enter the following command:
Start-Service -Name NCacheSvc
The NCache Management Center
Launch the NCache Management Center by browsing to http://localhost:8251* or
<server-ip>:8251
on Windows and Linux.In the left navigation bar, click on Local Caches or Clustered Caches based on your requirement. This opens up a new page at
<server-ip>:8251/
. The page shows any existing Local or Clustered Caches and additional details like Servers and Server platforms.
Select the cache and check the checkbox against the cache name.
Method 1: Click on the ... button against the cache name. Click on Show statistics from the options.
Method 2: Click on from the toolbar.
A statistic window will pop open showing the cache statistics.
Here you will also find . This button allows you to test your cache under stress cache by automatically feeding it sample data.
Once the Test-Stress button is clicked, you will be prompted with this dropdown menu and a Start button where you will have to specify the time for the stress test. Select your desired time and click on the Start button.
After this, you can monitor your cache counters to see the results.
Add Performance Counters for Monitoring
- To add performance counters for monitoring on the statistics page, click on the + Add Counter button.
- From the category list, select NCache. It shows all the present caches on the server node provided.
- Select the instance of the cache that needs to be monitored. A list of counters is displayed.
- Select the counters from the list and click on . This will add these counters to the statistics window for monitoring.
See Also
Monitor Cache Using Command Line Tools
Monitor Cache Using PerfMon
PerfMon Counters