<?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: sum(builtin:tech.generic.cpu.usage) versus builtin:host.cpu.usage or builtin:host.cpu.user in Open Q&amp;A</title>
    <link>https://community.dynatrace.com/t5/Open-Q-A/sum-builtin-tech-generic-cpu-usage-versus-builtin-host-cpu-usage/m-p/243625#M31987</link>
    <description>&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;thank you so much for your answer.&lt;/P&gt;&lt;P&gt;I was using the same selector than you, but discrepancies look to be higher than yours:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-04-22 231312.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19343i186CA5599738290D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d'écran 2024-04-22 231312.png" alt="Capture d'écran 2024-04-22 231312.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The absolute difference between the two values is low, but the relative difference can be very high.&lt;/P&gt;&lt;P&gt;This uncertainty is maybe intrinsic to the way those data are captured, because anyway usage values are quite low, it's hard to get a perfect accuracy from the linux OS itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your feedback, let's consider this topic as closed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 21:23:55 GMT</pubDate>
    <dc:creator>PierreLamonzie</dc:creator>
    <dc:date>2024-04-22T21:23:55Z</dc:date>
    <item>
      <title>sum(builtin:tech.generic.cpu.usage) versus builtin:host.cpu.usage or builtin:host.cpu.user</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/sum-builtin-tech-generic-cpu-usage-versus-builtin-host-cpu-usage/m-p/243320#M31944</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;I wanted to check something very basic - the sum of the CPU usage of my processes is equals to my host CPU usage.&lt;/P&gt;&lt;P&gt;I was not expected to have exactly the same values, maybe some %ages of difference.&lt;/P&gt;&lt;P&gt;But I really have huge differences, quite often 30% to 50%, on both ways.&lt;/P&gt;&lt;P&gt;Figures are better when I compare&amp;nbsp;sum(builtin:tech.generic.cpu.usage) with&amp;nbsp;builtin:host.cpu.user rather than&amp;nbsp;builtin:host.cpu.usage, but results are very far to be "good"&lt;/P&gt;&lt;P&gt;By increasing the resolution, from 1m to 15m for exemple, the differences are less however, even if I still meet differences higher than 20% between metrics in 20% of the cases.&lt;/P&gt;&lt;P&gt;I was wondering where the approach is not correct, and how I can create/use:&lt;/P&gt;&lt;P&gt;* problems on&amp;nbsp;builtin:tech.generic.cpu.usage thresholds&lt;/P&gt;&lt;P&gt;* problems on&amp;nbsp;builtin:host.cpu.user thresholds&lt;/P&gt;&lt;P&gt;being sure everything is consistent.&lt;/P&gt;&lt;P&gt;With the data I have, I could generate a problem telling "this process CPU usage is higher than x%" but with a host CPU usage which is lower than x% --&amp;gt; clearly not good...&lt;/P&gt;&lt;P&gt;(Working on premise)&lt;/P&gt;&lt;P&gt;Thx and regards.&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;</description>
      <pubDate>Fri, 19 Apr 2024 13:15:44 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/sum-builtin-tech-generic-cpu-usage-versus-builtin-host-cpu-usage/m-p/243320#M31944</guid>
      <dc:creator>PierreLamonzie</dc:creator>
      <dc:date>2024-04-19T13:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: sum(builtin:tech.generic.cpu.usage) versus builtin:host.cpu.usage or builtin:host.cpu.user</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/sum-builtin-tech-generic-cpu-usage-versus-builtin-host-cpu-usage/m-p/243611#M31985</link>
      <description>&lt;P&gt;Hi Pierre,&lt;/P&gt;&lt;P&gt;Regarding the description of each metric, you can get an idea by checking the metrics tab:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eric_Yu_2-1713804815818.png" style="width: 619px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19327i3931591275267354/image-dimensions/619x181?v=v2" width="619" height="181" role="button" title="Eric_Yu_2-1713804815818.png" alt="Eric_Yu_2-1713804815818.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;For example, for CPU user vs CPU usage %, here's the difference:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eric_Yu_0-1713804686796.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19325i4ADE19DB1E5ACE78/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eric_Yu_0-1713804686796.png" alt="Eric_Yu_0-1713804686796.png" /&gt;&lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eric_Yu_1-1713804724370.png" style="width: 400px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19326i86C819A64F0F7636/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Eric_Yu_1-1713804724370.png" alt="Eric_Yu_1-1713804724370.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The one you're looking for should be&amp;nbsp;&lt;SPAN&gt;builtin:host.cpu.usage. And for the comparison between that and the&amp;nbsp;builtin:tech.generic.cpu.usage per process, they should be around the same when aggregated. From my tests:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Eric_Yu_3-1713804973970.png" style="width: 775px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19331i56950CB77B097B90/image-dimensions/775x459?v=v2" width="775" height="459" role="button" title="Eric_Yu_3-1713804973970.png" alt="Eric_Yu_3-1713804973970.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Can you provide the metric selectors of yours? It may be helpful to see what's going on there.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 16:58:25 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/sum-builtin-tech-generic-cpu-usage-versus-builtin-host-cpu-usage/m-p/243611#M31985</guid>
      <dc:creator>Eric_Yu</dc:creator>
      <dc:date>2024-04-22T16:58:25Z</dc:date>
    </item>
    <item>
      <title>Re: sum(builtin:tech.generic.cpu.usage) versus builtin:host.cpu.usage or builtin:host.cpu.user</title>
      <link>https://community.dynatrace.com/t5/Open-Q-A/sum-builtin-tech-generic-cpu-usage-versus-builtin-host-cpu-usage/m-p/243625#M31987</link>
      <description>&lt;P&gt;Hello Eric,&lt;/P&gt;&lt;P&gt;thank you so much for your answer.&lt;/P&gt;&lt;P&gt;I was using the same selector than you, but discrepancies look to be higher than yours:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture d'écran 2024-04-22 231312.png" style="width: 999px;"&gt;&lt;img src="https://community.dynatrace.com/t5/image/serverpage/image-id/19343i186CA5599738290D/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture d'écran 2024-04-22 231312.png" alt="Capture d'écran 2024-04-22 231312.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The absolute difference between the two values is low, but the relative difference can be very high.&lt;/P&gt;&lt;P&gt;This uncertainty is maybe intrinsic to the way those data are captured, because anyway usage values are quite low, it's hard to get a perfect accuracy from the linux OS itself.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you again for your feedback, let's consider this topic as closed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best regards.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Pierre&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 21:23:55 GMT</pubDate>
      <guid>https://community.dynatrace.com/t5/Open-Q-A/sum-builtin-tech-generic-cpu-usage-versus-builtin-host-cpu-usage/m-p/243625#M31987</guid>
      <dc:creator>PierreLamonzie</dc:creator>
      <dc:date>2024-04-22T21:23:55Z</dc:date>
    </item>
  </channel>
</rss>

