Collect Performance Statistics

Follow these steps to use Windows Performance Monitor (perfmon) to gather statistics about the performance of NLINK Server or one of the NLINK CoNNectors and create a log file to send to Junot Systems Customer Support.

Step-by-step guide

  1. Start the Windows Performance Monitor

    1. Make sure that NLINK Server is running.
    2. Start Perfmon by going to the windows Start menu and selecting run then type “perfmon”.
    3. Alternatively, go to Windows Start menu and select Control Panel, Administrative Tools then Performance.
  2. Monitor Private Bytes
    1. In Perfmon, right-click the list of counters at the bottom of the right-hand graphics pane and choose Add Counters …in the popup menu.
    2. In the Add Counters dialog, choose Process under Performance Object.
    3. In the Instances list, select the NLINK Server (or whatever NLINK component you need to monitor).
    4. In the Counters list, select Private Bytes and choose Add.
  3. Monitor Handle Count
    1. In Perfmon, right-click the list of counters at the bottom of the right-hand graphics pane and choose Add Counters …in the popup menu.
    2. In the Add Counters dialog, choose Process under Performance Object.
    3. In the Instances list, select the NLINK Server (or whatever NLINK component you need to monitor).
    4. In the Counters list, select Handle Count and choose Add.
  4. Monitor Processor Time
    1. In Perfmon, right-click the list of counters at the bottom of the right-hand graphics pane and choose Add Counters …in the popup menu.
    2. In the Add Counters dialog, choose Processor under Performance Object.
    3. If there is more than one CPU on the computer select Total from the Instances list.
    4. In the Counters list, select % Processor Time and choose Add.
  5. Write the Data to a File
    1. In the Left-hand pane, double-click Performance Logs and Alerts, and then click Counter Logs.
      Note that any existing counter logs will be listed in the details pane. A green icon indicates that a log is running; a red icon indicates that a log has stopped.
    2. Right-click a blank area of the details pane, and click New Log Settings.
    3. In Name, type the name of the counter log, (like NLINK Performance Log), and then click OK.
    4. On the General tab, click Add Counters to select the individual counters you want to log (see instructions in Steps 2, 3 & 4 above).
    5. Set it to sample data every 30 seconds.
    6. Go to the Schedule tab and select the log to start manually.
    7. Click OK.
  6. Start Logging
    1. Select the new log and Right-click.
    2. Select Start.
    3. Don’t forget to Monitor the size of the log as it can grow quite large.

 

Hint

In Perfmon, you can get the current value of a counter by selecting it in the list. 

Advanced Notes

  • To perform this procedure, you must be a member of the Administrators group, or the Performance Log Users group on the local computer, or you must have been delegated the appropriate authority. If the computer is joined to a domain, members of the Domain Admins group might be able to perform this procedure. As a security best practice, consider using Run as to perform this procedure.
  • To save the settings for a counter log, trace log, or alert, right-click the log or alert in the details pane and click Save Settings As. You can then specify an .htm file in which to save the settings. To reuse the saved settings for a new log or alert, right-click the details pane, and then click New Log Settings From or New Alert Settings From. This is an easy way to generate new settings from a log or alert configuration. You can also open the HTML file in Internet Explorer to display a System Monitor graph.