Monitor Bridge Counters Using PerfMon Tools
NCache publishes bridge counters in PerfMon under the category NCache Bridge. This category has all the counters related to the bridge.
Prerequisite to Monitor Bridge Counters with PerfMon Tools
Ensure the NCache Service is started. If it is not started, do the following:
In the command line tool of your choice, 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 as administrator.
- Ensure your caches are running.
Steps to Monitor Bridge Counters Using PerfMon Tool
Follow these steps to monitor the NCache bridge counters through the PerfMon tool:
Press the WINDOWS + R keys on your keyboard or click on the Windows start menu and then type PerfMon and press ENTER key.
PerfMon tool opens up; click on the Performance Monitor under Monitoring Tools.
Click on the cross (X) button to remove the default counter which is already added to it.
Then click on the plus (+) button to open the Add Counters dialog box.
Using the vertical slider of the available counters list box, scroll upward to find the NCache Bridge category.
Click on the down arrowhead (icon) to expand the NCache Bridge category. All of its counters are listed under it. Select the required counters from this list like this:
All of the current running caches for which clients are running appear inside of Instances of selected objects list box.
Select the required instance or click on < All instances >, and click on the Add > > button.
All of the counters that were selected in step 5 for all the selected instances of caches appear in the Added counters list box on the right side.
Click OK available at the bottom right of this dialog box. All of the selected counters will appear in the PerfMon tool like this:
See Also
Monitor Cache Server Counters Using PerfMon
Monitor Cache Client Counters Using PerfMon
Logging
Troubleshooting NCache Monitoring