Try Playground
Show / Hide Table of Contents

Monitor Caches

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>:8251 on Windows and Linux.

  • From the left navigation bar, click on Clustered Caches.

NCache Web Manager 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.

      Show cache statistics

    • Method 2: Click on Statistics Button from the toolbar.

  • A statistic window will pop open showing the cache statistics.

NCache Stats Counter Dashboard

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.

Add NCache Counters Perfmon

  • Scroll up in the Performance Categories window to find 'NCache'. Select NCache.

Add NCache Counters Perfmon

  • 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.

Add NCache Counters Perfmon

  • 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.

Add NCache Counters Perfmon

  • Change the line view to report view and you will see the values of selected counters like this.

Add NCache Counters Perfmon

See Also

Create Cache
Simulate Cache Usage
Use NCache for Data Caching
NCache Programmer's Guide

Back to top Copyright © 2017 Alachisoft