• Webinars
  • Docs
  • Download
  • Blogs
  • Contact Us
Try Free
Show / Hide Table of Contents

Browse Cache Statistics

NCache allows you to monitor your cache using different performance counters for different cache stores. You can use the Performance Monitor to view performance data by configuring different counters for your cache.

Note

This section provides the steps to monitor counters for a Distributed Cache. You can browse and monitor NCache Counters for caches with different store types by following the same steps.

Prerequisites

Make sure NCache Service is started. If it is not started, do the following:

  • Windows Environment
  • Linux Environment

In PowerShell, enter the following command:

Start-Service -Name NCacheSvc

For .NET Core, make sure that you run NCache Service as an administrator. Here are the steps to do so:

  • Open the Services Window and look for NCache in the list.
  • Right click on NCacheSvc from the list and choose Properties.
  • Go to the Log On tab and click on the Browse button.
  • In the object name field, type Administrator and click on the Check Names button.
  • It will pick the appropriate Administrator, then click OK.
  • Now, set a Password and click OK.
  • Right click on the NCache Service and choose the Restart option. Now your service will start running with as an administrator.

In a terminal of your choice, type the following command:

> sudo systemctl start ncached

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 the Server and Server Platform.

Remove Cache

  • Select the cache. For this you may click on the "..." button against the cache name and click on Show statistics from the available options. Or you may click on the Statistics Button from the toolbar for which you will have to select the checkbox against the cache name.

Show cache statistics

  • A Statistics window will open showing the cache statistics.

Cache statistics

  • In order to add counters for monitoring, click on Add Counter. Select the node you want to add a counter for.

Perfmon for Bridge

  • From the category list, select NCache - it shows all the present caches on the server node provided.

Shows Cache instances

  • Select the instance of the cache that needs to be monitored. A list of counters is displayed.

  • Select the counters from the list while holding down ctrl and click on Add Counters. It shows a list of selected counters.

List of Selected Counters

See Also

Monitor Cluster Connectivity
Monitor Cache Clusters using NCache Email Alerts
Monitor Cache Using Test Stress

Back to top Copyright © 2017 Alachisoft