Both local and clustered caches publish performance statistics using Windows Performance Counters. This section will give you an overview of how to use these tools to monitor your data in a distributed cache cluster. First, run the test stress tool and then monitor Distributed Cache Counters through the following ways.
Using NCache Statistics
Launch NCache Management Center by browsing http://localhost:8251 or
<server-ip>:8251on Windows and Linux.
From the left navigation bar, click on Clustered Caches.
Select the cache by checking 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.
Using PerfMon Tool
Follow the steps given below to monitor the NCache counters through the PerfMon tool:
Press WINDOWS + R keys on the keyboard or type PerfMon in Windows search bar.
PerfMon tool opens up. Click on the Performance Monitor under Monitoring Tools.
Click on Add (+) button. This opens the Add Counters popup window. By default, it shows Performance Counter categories on the local system. If a cache is running on a different computer, type the computer name or IP.
- Scroll up in the Performance Categories window to find 'NCache'. Select NCache.
- Click on the down arrowhead icon to expand the NCache category. All of its counters are listed under it. Select the required counters from this list.
- Every cache publishes its statistics under its cache name. Select the cache you want to monitor and click the Add button at the bottom. Click OK.
- Change the line view to report view and you will see the values of selected counters like this.