<?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>question check memory and cpu usage in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/check-memory-and-cpu-usage/m-p/343331#M233901</link>
    <description>&lt;P&gt;there are like 1k finished jobs and i want to check allocated CPU and memory of those jobs. how to do that? i tried in command line but it shows when i enter job id and in my yarn UI CPU and memory metrics are not there.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2022-05-05 14-19-25.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34327iCF16701518396D9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2022-05-05 14-19-25.png" alt="Screenshot from 2022-05-05 14-19-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 06 May 2022 11:47:38 GMT</pubDate>
    <dc:creator>SaF007</dc:creator>
    <dc:date>2022-05-06T11:47:38Z</dc:date>
    <item>
      <title>check memory and cpu usage</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-memory-and-cpu-usage/m-p/343331#M233901</link>
      <description>&lt;P&gt;there are like 1k finished jobs and i want to check allocated CPU and memory of those jobs. how to do that? i tried in command line but it shows when i enter job id and in my yarn UI CPU and memory metrics are not there.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot from 2022-05-05 14-19-25.png" style="width: 999px;"&gt;&lt;img src="https://community.cloudera.com/t5/image/serverpage/image-id/34327iCF16701518396D9C/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screenshot from 2022-05-05 14-19-25.png" alt="Screenshot from 2022-05-05 14-19-25.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 06 May 2022 11:47:38 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-memory-and-cpu-usage/m-p/343331#M233901</guid>
      <dc:creator>SaF007</dc:creator>
      <dc:date>2022-05-06T11:47:38Z</dc:date>
    </item>
    <item>
      <title>Re: check memory and cpu usage</title>
      <link>https://community.cloudera.com/t5/Support-Questions/check-memory-and-cpu-usage/m-p/343576#M233968</link>
      <description>&lt;DIV class="c-virtual_list__item"&gt;&lt;DIV class="c-message_kit__background c-message_kit__background--hovered p-message_pane_message__message c-message_kit__message"&gt;&lt;DIV class="c-message_kit__hover c-message_kit__hover--hovered"&gt;&lt;DIV class="c-message_kit__actions c-message_kit__actions--default"&gt;&lt;DIV class="c-message_kit__gutter"&gt;&lt;DIV class="c-message_kit__gutter__right"&gt;&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text"&gt;&lt;DIV class="p-block_kit_renderer"&gt;&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;&lt;DIV class="p-rich_text_block"&gt;&lt;PRE&gt;To get the number of vcores and memory used for a particular queue in the cluster 

You can get this information in the cluster utilization report, please go through the below doc for more information:
&lt;A href="https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/admin_cluster_util_report.html" target="_blank" rel="noopener noreferrer"&gt;https://docs.cloudera.com/documentation/enterprise/6/6.3/topics/admin_cluster_util_report.html&lt;/A&gt;

Also, if you want to see the resources used for each application, please go through the below KB article:
&lt;A href="https://my.cloudera.com/knowledge/How-to-calculate-memory-and-v-core-utilization-for-each-of-the?id=271149" target="_blank" rel="noopener noreferrer"&gt;https://my.cloudera.com/knowledge/How-to-calculate-memory-and-v-core-utilization-for-each-of-the?id=...&lt;/A&gt;&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;another option is&lt;BR /&gt;Using&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;yarn application -status&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;command, you can get the&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;Aggregate Resource Allocation&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;for an application.&lt;BR /&gt;For e.g.&amp;nbsp;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;yarn application -status application_ID&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;(for one of completed applications), one of the rows returned is:&lt;/DIV&gt;&lt;PRE&gt;Aggregate Resource Allocation : 46641 MB-seconds, 37 vcore-seconds&lt;/PRE&gt;&lt;DIV class="p-rich_text_section"&gt;This gives an aggregate memory and CPU allocations in seconds.&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="c-virtual_list__item c-virtual_list__item--initial-activeitem"&gt;&lt;DIV class="c-message_kit__background p-message_pane_message__message c-message_kit__message p-message_pane_message__message--last"&gt;&lt;DIV class="c-message_kit__hover"&gt;&lt;DIV class="c-message_kit__actions c-message_kit__actions--above"&gt;&lt;DIV class="c-message_kit__gutter"&gt;&lt;DIV class="c-message_kit__gutter__right"&gt;&lt;DIV class="c-message_kit__blocks c-message_kit__blocks--rich_text"&gt;&lt;DIV class="c-message__message_blocks c-message__message_blocks--rich_text"&gt;&lt;DIV class="p-block_kit_renderer"&gt;&lt;DIV class="p-block_kit_renderer__block_wrapper p-block_kit_renderer__block_wrapper--first"&gt;&lt;DIV class="p-rich_text_block"&gt;&lt;DIV class="p-rich_text_section"&gt;&lt;A href="https://my.cloudera.com/knowledge/How-to-calculate-memory-and-v-core-utilization-for-each-of-the?id=271149" target="_blank" rel="noopener noreferrer"&gt;https://my.cloudera.com/knowledge/How-to-calculate-memory-and-v-core-utilization-for-each-of-the?id=...&lt;/A&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 11 May 2022 08:21:41 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/check-memory-and-cpu-usage/m-p/343576#M233968</guid>
      <dc:creator>shehbazk</dc:creator>
      <dc:date>2022-05-11T08:21:41Z</dc:date>
    </item>
  </channel>
</rss>

