Monitor Caches
NCache provides you with GUI-based tools as well as PowerShell cmdlets to monitor your Pub/Sub Messaging caches. This section will give you an overview of how to use these tools to monitor your data in a Pub/Sub Messaging cache. First, run the test stress tool and then monitor Pub/Sub 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.
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 the 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 Pub/Sub 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.
See Also
Create a Pub/Sub Messaging Cache
Simulate Pub/Sub Cache Usage