Monitor Cache Server Counters through PerfMon
NCache publishes cache server counters in PerfMon under the category NCache. This category has all the counters related to the cache server.
Steps to Monitor Cache Server Counters through PerfMon
Follow the steps given below to monitor the NCache counters through the PerfMon tool:
Press 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 category.
- 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 like this:
All of the current running caches (and replicas of caches) appear inside of Instances of selected objects list box.
Select the required instance or simply click on the < All instances > and click on the Add > > button.
All of the selected counters (selected in step 5) for all the selected instances of caches appear in the Added counters list box on the right side.
- Click OK. All of the selected counters will appear in the PerfMon tool like this:
- You can also change the view of PerfMon from Report view to Line view. Follow the steps given below:
- Click on the Line option of the drop-down menu. This changes the PerfMon view from Report to Line. In-Line view, counter values are displayed in the form of a continuous graph, like this: