<?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>topic Re: XML API: Meaning of cpu load-average / load-maximum values in General Topics</title>
    <link>https://live.paloaltonetworks.com/t5/general-topics/xml-api-meaning-of-cpu-load-average-load-maximum-values/m-p/19684#M14368</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;IneRIT&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resource monitor will give you a brief history of the PAN firewall's Data-&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;palane&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; utilization. Shows the last minute, 60 minutes, 24 Hrs and 7 days averages of load on the Data-plane CPU.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;day&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; ------------------ Per-day monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;hour&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;------------------- Per-hour monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;minute&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; ----------------Per-minute monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;second&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;---------------- Per-second monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;week&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;------------------- Per-week monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the load average concept will come for management-plane CPU utilization &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;MP-CPU): load averages with three numbers that indicate how much load is on system and CPU. The load averages show the last minute, five minutes and fifteen minute averages of load on the MP &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;I think so&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&amp;nbsp; )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;FYI: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;gt; &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;show&lt;/SPAN&gt; system resources&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="GINGER_SOFTWARE_mark" style="font-size: 10pt; line-height: 1.5em;"&gt;top&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;EM&gt; - 10:54:19 up 7 days, 23:07,&amp;nbsp; 2 users,&amp;nbsp; load average: 0.04, 0.02, 0.00 &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding, from a general microprocessor concept:&lt;/P&gt;&lt;P&gt;CPU time:&amp;nbsp; If one process is running with complete demand on a processor, it is said to contribute 1.00 to the load average. Two processes demanding full time, when run evenly on two processors (or cores), would contribute 2.00 to the load average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I/O time:&amp;nbsp; Any process currently requesting read or write to a block device (such as a hard disk) increases the load by 1.00 while the I/O is being requested. If a process is waiting on a read&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;), and the kernel has not returned, (Eg. &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;hang&lt;/SPAN&gt;&lt;/SPAN&gt; while in &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;read&lt;/SPAN&gt;&lt;/SPAN&gt;) the load average could show high while the CPU is relatively idle. This will still reflect a high load average based on the I/O demand even though the rest of the system can be reasonably responsive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 27 Aug 2014 16:10:42 GMT</pubDate>
    <dc:creator>HULK</dc:creator>
    <dc:date>2014-08-27T16:10:42Z</dc:date>
    <item>
      <title>XML API: Meaning of cpu load-average / load-maximum values</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/xml-api-meaning-of-cpu-load-average-load-maximum-values/m-p/19683#M14367</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;first of all I am new to Palo Alto Firewalls and I`m highly impressed about the xml api which comes with palo alto. very cool and useful stuff! It took me just a couple of hours to fulfill some management requirements on reporting. Now I want to go on and create a monitoring script, which checks the cpu-cores for "long-time high-utilization per core". I found the following path on the api:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 12pt;"&gt;&lt;SPAN lang=""&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;API-&amp;gt; Operational Commands -&amp;gt; show -&amp;gt; running -&amp;gt; resource-monitor&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I`m quite unsure, what the real meaning of the delivered values is? I get cpu-load-average and maximum-load-average, both with a list of values. But I cant figure out what the exact meaning is. Even I miss some utilization metrics. Are these utilization metrics exposed by the api? Can one shed some light on this or point me to the documentation on that?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="block" style="color: blue; margin-left: -2em;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN class="block" style="color: blue; margin-left: -2em;"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 13:26:38 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/xml-api-meaning-of-cpu-load-average-load-maximum-values/m-p/19683#M14367</guid>
      <dc:creator>InetRIT</dc:creator>
      <dc:date>2014-08-27T13:26:38Z</dc:date>
    </item>
    <item>
      <title>Re: XML API: Meaning of cpu load-average / load-maximum values</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/xml-api-meaning-of-cpu-load-average-load-maximum-values/m-p/19684#M14368</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;IneRIT&lt;/SPAN&gt;&lt;/SPAN&gt;,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The resource monitor will give you a brief history of the PAN firewall's Data-&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;palane&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; utilization. Shows the last minute, 60 minutes, 24 Hrs and 7 days averages of load on the Data-plane CPU.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;day&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; ------------------ Per-day monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;hour&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;------------------- Per-hour monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;minute&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt; ----------------Per-minute monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;second&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;---------------- Per-second monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;week&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;------------------- Per-week monitoring statistics&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But the load average concept will come for management-plane CPU utilization &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;MP-CPU): load averages with three numbers that indicate how much load is on system and CPU. The load averages show the last minute, five minutes and fifteen minute averages of load on the MP &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;( &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;I think so&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://live.paloaltonetworks.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&amp;nbsp; )&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;.&lt;/P&gt;&lt;P&gt;FYI: &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&lt;EM&gt;&amp;gt; &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;show&lt;/SPAN&gt; system resources&lt;/EM&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;SPAN class="GINGER_SOFTWARE_mark" style="font-size: 10pt; line-height: 1.5em;"&gt;top&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;STRONG&gt;&lt;EM&gt; - 10:54:19 up 7 days, 23:07,&amp;nbsp; 2 users,&amp;nbsp; load average: 0.04, 0.02, 0.00 &amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;&lt;/EM&gt;&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As per my understanding, from a general microprocessor concept:&lt;/P&gt;&lt;P&gt;CPU time:&amp;nbsp; If one process is running with complete demand on a processor, it is said to contribute 1.00 to the load average. Two processes demanding full time, when run evenly on two processors (or cores), would contribute 2.00 to the load average.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I/O time:&amp;nbsp; Any process currently requesting read or write to a block device (such as a hard disk) increases the load by 1.00 while the I/O is being requested. If a process is waiting on a read&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;(&lt;/SPAN&gt;&lt;/SPAN&gt;), and the kernel has not returned, (Eg. &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;hang&lt;/SPAN&gt;&lt;/SPAN&gt; while in &lt;SPAN class="GINGER_SOFTWARE_mark"&gt;&lt;SPAN class="GINGER_SOFTWARE_mark"&gt;read&lt;/SPAN&gt;&lt;/SPAN&gt;) the load average could show high while the CPU is relatively idle. This will still reflect a high load average based on the I/O demand even though the rest of the system can be reasonably responsive.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2014 16:10:42 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/xml-api-meaning-of-cpu-load-average-load-maximum-values/m-p/19684#M14368</guid>
      <dc:creator>HULK</dc:creator>
      <dc:date>2014-08-27T16:10:42Z</dc:date>
    </item>
    <item>
      <title>Re: XML API: Meaning of cpu load-average / load-maximum values</title>
      <link>https://live.paloaltonetworks.com/t5/general-topics/xml-api-meaning-of-cpu-load-average-load-maximum-values/m-p/19685#M14369</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Hulk,&lt;/P&gt;&lt;P&gt;thanks a lot for your detailed explanation on cpu / io time and their impact on the overall system load. I think I mispelled my question. In my case,&lt;/P&gt;&lt;P&gt;I was looking for a monitoring object which holds the "per core cpu utilization", to cover the case, if i.e. the pdf-scanning-engine does an "endless unpack of pdf docs" and keeps a single cpu core busy for a very long time. As I mentioned before I found the&lt;/P&gt;&lt;P&gt;API-&amp;gt; Operational Commands -&amp;gt; show -&amp;gt; running -&amp;gt; resource-monitor and this object returns a list of numbers where I was in doubt about their meaning. Load or percent utilization of the individual cpu-core?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The output of the api query looks like the following:&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&amp;lt;cpu-load-average&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;entry&amp;gt;&amp;lt;coreid&amp;gt;1&amp;lt;/coreid&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt;4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,4,4,4,4,4,4,4,4,4,4,4,4,4,5,4,4,4,4,4,4,4,3,4,4,4&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/entry&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;entry&amp;gt;&amp;lt;coreid&amp;gt;2&amp;lt;/coreid&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;value&amp;gt;11,9,9,9,9,10,10,9,9,10,9,10,10,10,10,10,10,10,10,11,9,10,10,10,11,10,9,9,9,10,9,10,10,12,12,10,10,9,10,11,10,10,10,10,11,9,9,9,10,10,11,10,10,10,9,9,9,9,9,9&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/entry&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;entry&amp;gt;&amp;lt;coreid&amp;gt;3&amp;lt;/coreid&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;value&amp;gt;21,17,18,17,18,18,19,18,19,19,17,21,20,19,18,22,22,20,19,22,19,19,22,19,20,19,17,18,19,20,18,19,21,23,21,19,23,20,23,24,21,20,20,19,20,18,16,17,18,18,21,17,17,18,17,18,20,17,18,18&amp;lt;/value&amp;gt;&lt;/P&gt;&lt;P&gt; &amp;lt;/entry&amp;gt;&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;From the XML Structure where the values are embedded in, they should be load-averages. But an load-average on a single core with a value of 20 (as coreid 3)? Does it make any sense? So the question is: are these values load-averages or percent utilization values?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot,&lt;/P&gt;&lt;P&gt;Best Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Tom&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 28 Aug 2014 13:14:01 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/general-topics/xml-api-meaning-of-cpu-load-average-load-maximum-values/m-p/19685#M14369</guid>
      <dc:creator>InetRIT</dc:creator>
      <dc:date>2014-08-28T13:14:01Z</dc:date>
    </item>
  </channel>
</rss>

