<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>article Nprinting Server: How to log CPU and memory with Microsoft Performance Monitor (PerfMon) in Official Support Articles</title>
    <link>https://community.qlik.com/t5/Official-Support-Articles/Nprinting-Server-How-to-log-CPU-and-memory-with-Microsoft/ta-p/1712108</link>
    <description>&lt;DIV&gt;The Microsoft Performance Monitor makes it possible for users to set up automatic data collection jobs which can save data from performance counters at a given interval.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This document describes the steps necessary to save such data using Microsoft Performance Monitor Data Collectors.&amp;nbsp;&lt;/DIV&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environments:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Prerequisites&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;-------------&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;- Microsoft Performance Monitor must be installed on Qlik Nprinting Server&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;- The user which initiates the Data Collectors must be at least local admin&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Setting up a Data Collector&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;---------------------------&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;1. Open Microsoft Performance Monitor (located under Server Manager-&amp;gt;Tools)&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;2. Open "Data Collector Sets" in the tree view on the left pane&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;3. Open "User Defined"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;4. Right-click on "User Defined" and select "New"-&amp;gt;"Data Collector Set"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;5. Set a name for the new collector and select the option "Create manually (Advanced)". Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;6. Select "Create data logs" and check "Performance counter". Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;7. Click "Add..."&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;8. Expand "Processor" and select "% Processor Time". Make sure that "_Total" is selected in "Instances of the selected object:"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;8b: Expand “Memory” and select “Available Mbytes”, and "Committed Bytes"&lt;BR /&gt;8c: Expand "Logical Disk" and select "Free Megabytes"&lt;BR /&gt;8d: Expand "Physical Disk" and select "% Idle Time"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;9. Click "Add &amp;gt;&amp;gt;"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;10. Expand "Process" and select "% Processor Time" and "Private bytes" for "Qlik.Nprinting.Engine", "Qlik.Nprinting.Scheduler" and "Qlik.Nprinting.WebEngine" (The Nprinting services need to be started to see the option)&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;11. Click "Add &amp;gt;&amp;gt;"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;12. Click "Ok" to close the dialogue&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;13. Change the "Sample Interval" to "5". Make sure that "Units" reads "Seconds"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;14. Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;15. Choose a directory to save the logs in. Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;16. Make sure that the Data Collector Set are run as a user with Local Admin credentials. Select "Save and Close" and click "Finish"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;17. Select the newly created Data Collector Set in the tree view on the left pane&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;18. Right-click "DataCollector01" in the right pane and select "Properties"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;19. Change "Log Format" to "Comma Separated"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;20. Open the "File"-tab and enter a descriptive name for the log file, preferably Servername.&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;21. Click "OK"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;22. Right-click the Data Collector Set in the tree view on the left pane and select "Start"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;23. Wait a few seconds and verify that the Data Collector Set are running&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;24. Repeat for each cluster node&lt;/DIV&gt;</description>
    <pubDate>Thu, 18 Nov 2021 09:30:32 GMT</pubDate>
    <dc:creator>Damien_V</dc:creator>
    <dc:date>2021-11-18T09:30:32Z</dc:date>
    <item>
      <title>Nprinting Server: How to log CPU and memory with Microsoft Performance Monitor (PerfMon)</title>
      <link>https://community.qlik.com/t5/Official-Support-Articles/Nprinting-Server-How-to-log-CPU-and-memory-with-Microsoft/ta-p/1712108</link>
      <description>&lt;DIV&gt;The Microsoft Performance Monitor makes it possible for users to set up automatic data collection jobs which can save data from performance counters at a given interval.&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;This document describes the steps necessary to save such data using Microsoft Performance Monitor Data Collectors.&amp;nbsp;&lt;/DIV&gt;
&lt;H4&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Environments:&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/H4&gt;
&lt;DIV class="lia-indent-padding-left-30px"&gt;&lt;LI-PRODUCT title="Qlik NPrinting" id="qlikNPrinting"&gt;&lt;/LI-PRODUCT&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Prerequisites&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;-------------&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;- Microsoft Performance Monitor must be installed on Qlik Nprinting Server&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;&amp;nbsp;- The user which initiates the Data Collectors must be at least local admin&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;FONT color="#339966"&gt;&lt;STRONG&gt;Setting up a Data Collector&lt;/STRONG&gt;&lt;/FONT&gt;&lt;/DIV&gt;
&lt;DIV&gt;---------------------------&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;1. Open Microsoft Performance Monitor (located under Server Manager-&amp;gt;Tools)&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;2. Open "Data Collector Sets" in the tree view on the left pane&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;3. Open "User Defined"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;4. Right-click on "User Defined" and select "New"-&amp;gt;"Data Collector Set"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;5. Set a name for the new collector and select the option "Create manually (Advanced)". Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;6. Select "Create data logs" and check "Performance counter". Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;7. Click "Add..."&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;8. Expand "Processor" and select "% Processor Time". Make sure that "_Total" is selected in "Instances of the selected object:"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;8b: Expand “Memory” and select “Available Mbytes”, and "Committed Bytes"&lt;BR /&gt;8c: Expand "Logical Disk" and select "Free Megabytes"&lt;BR /&gt;8d: Expand "Physical Disk" and select "% Idle Time"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;9. Click "Add &amp;gt;&amp;gt;"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;10. Expand "Process" and select "% Processor Time" and "Private bytes" for "Qlik.Nprinting.Engine", "Qlik.Nprinting.Scheduler" and "Qlik.Nprinting.WebEngine" (The Nprinting services need to be started to see the option)&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;11. Click "Add &amp;gt;&amp;gt;"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;12. Click "Ok" to close the dialogue&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;13. Change the "Sample Interval" to "5". Make sure that "Units" reads "Seconds"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;14. Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;15. Choose a directory to save the logs in. Click "Next"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;16. Make sure that the Data Collector Set are run as a user with Local Admin credentials. Select "Save and Close" and click "Finish"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;17. Select the newly created Data Collector Set in the tree view on the left pane&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;18. Right-click "DataCollector01" in the right pane and select "Properties"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;19. Change "Log Format" to "Comma Separated"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;20. Open the "File"-tab and enter a descriptive name for the log file, preferably Servername.&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;21. Click "OK"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;22. Right-click the Data Collector Set in the tree view on the left pane and select "Start"&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;23. Wait a few seconds and verify that the Data Collector Set are running&lt;/DIV&gt;
&lt;DIV style="margin-left: 40px;"&gt;24. Repeat for each cluster node&lt;/DIV&gt;</description>
      <pubDate>Thu, 18 Nov 2021 09:30:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Official-Support-Articles/Nprinting-Server-How-to-log-CPU-and-memory-with-Microsoft/ta-p/1712108</guid>
      <dc:creator>Damien_V</dc:creator>
      <dc:date>2021-11-18T09:30:32Z</dc:date>
    </item>
  </channel>
</rss>

