<?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 Hi Patrick, in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073252#M5363</link>
    <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;

&lt;P&gt;I am really interested in this tool even though I can't use it inside a program like APIs/library. But I couldn't find the way to install it. When I download the files from Github (https://github.com/torvalds/linux/tree/master/tools/power/x86/turbostat) and try to make, the following errors show up. Do you have any ideas how to get it successfully&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;[liu@fornax Temp]$ sudo make&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;gcc -Wall -DMSRHEADER=/usr/include/asm/msr-index.h turbostat.c -o /home/liu/Temp/turbostat&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘get_counters’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1044: error: ‘MSR_KNL_CORE_C6_RESIDENCY’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1044: error: (Each undeclared identifier is reported only once&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1044: error: for each function it appears in.)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1064: error: ‘MSR_PKG_WEIGHTED_CORE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1066: error: ‘MSR_PKG_ANY_CORE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1068: error: ‘MSR_PKG_ANY_GFXE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1070: error: ‘MSR_PKG_BOTH_CORE_GFXE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_hsw_turbo_ratio_limits’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1202: error: ‘MSR_TURBO_RATIO_LIMIT2’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_ivt_turbo_ratio_limits’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1224: error: ‘MSR_TURBO_RATIO_LIMIT1’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_nhm_turbo_ratio_limits’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1276: error: ‘MSR_TURBO_RATIO_LIMIT’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_config_tdp’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1411: error: ‘MSR_CONFIG_TDP_NOMINAL’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1415: error: ‘MSR_CONFIG_TDP_LEVEL_1’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1425: error: ‘MSR_CONFIG_TDP_LEVEL_2’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1435: error: ‘MSR_CONFIG_TDP_CONTROL’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1442: error: ‘MSR_TURBO_ACTIVATION_RATIO’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘print_perf_limit’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:2066: error: ‘MSR_CORE_PERF_LIMIT_REASONS’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:2101: error: ‘MSR_GFX_PERF_LIMIT_REASONS’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:2123: error: ‘MSR_RING_PERF_LIMIT_REASONS’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;make: *** [turbostat] Error 1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Jiawen&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Patrick A. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Jiawen&lt;/P&gt;

&lt;P&gt;You may be interested in the 'turbostat' tool: &lt;A href="http://manpages.ubuntu.com/manpages/oneiric/man8/turbostat.8.html"&gt;http://manpages.ubuntu.com/manpages/oneiric/man8/turbostat.8.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Here some output from a IBM x3250-M5 (in idle state):&lt;BR /&gt;
	[root@x3250-m5 bin]# /usr/local/bin/turbostat -i 5&lt;BR /&gt;
	Avg_MHz&amp;nbsp;&amp;nbsp; %Busy Bzy_MHz TSC_MHz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SMI&amp;nbsp; CPU%c1&amp;nbsp; CPU%c3&amp;nbsp; CPU%c6&amp;nbsp; CPU%c7 &lt;STRONG&gt;CoreTmp&amp;nbsp; PkgTmp&lt;/STRONG&gt; Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 &lt;STRONG&gt;PkgWatt&lt;/STRONG&gt; CorWatt&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.02&amp;nbsp;&amp;nbsp;&amp;nbsp; 2992&amp;nbsp;&amp;nbsp;&amp;nbsp; 2993&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.02&amp;nbsp;&amp;nbsp; 99.96&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.18&amp;nbsp;&amp;nbsp; 95.77&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;4.73&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.16&lt;/P&gt;

&lt;P&gt;(in bold, Temp and wattage).&lt;/P&gt;

&lt;P&gt;Hope it helps.&lt;/P&gt;

&lt;P&gt;Kind regards,&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 16 Feb 2016 17:54:40 GMT</pubDate>
    <dc:creator>Kevin</dc:creator>
    <dc:date>2016-02-16T17:54:40Z</dc:date>
    <item>
      <title>Detecting CPU Temperature</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073249#M5360</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;

&lt;P&gt;I am trying to detect the Intel CPU temperature inside the code, but I can't find any solution to do that in the forum/Google. Does anyone know there is any way to detect the Real-time temperature of CPU inside the code(Like library or other tools to do that)?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jiawen&lt;/P&gt;</description>
      <pubDate>Mon, 15 Feb 2016 17:39:30 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073249#M5360</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-15T17:39:30Z</dc:date>
    </item>
    <item>
      <title>Hi Jiawen</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073250#M5361</link>
      <description>&lt;P&gt;Hi Jiawen&lt;/P&gt;

&lt;P&gt;You may be interested in the 'turbostat' tool: &lt;A href="http://manpages.ubuntu.com/manpages/oneiric/man8/turbostat.8.html" target="_blank"&gt;http://manpages.ubuntu.com/manpages/oneiric/man8/turbostat.8.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Here some output from a IBM x3250-M5 (in idle state):&lt;BR /&gt;
	[root@x3250-m5 bin]# /usr/local/bin/turbostat -i 5&lt;BR /&gt;
	Avg_MHz&amp;nbsp;&amp;nbsp; %Busy Bzy_MHz TSC_MHz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SMI&amp;nbsp; CPU%c1&amp;nbsp; CPU%c3&amp;nbsp; CPU%c6&amp;nbsp; CPU%c7 &lt;STRONG&gt;CoreTmp&amp;nbsp; PkgTmp&lt;/STRONG&gt; Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 &lt;STRONG&gt;PkgWatt&lt;/STRONG&gt; CorWatt&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.02&amp;nbsp;&amp;nbsp;&amp;nbsp; 2992&amp;nbsp;&amp;nbsp;&amp;nbsp; 2993&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.02&amp;nbsp;&amp;nbsp; 99.96&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.18&amp;nbsp;&amp;nbsp; 95.77&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;4.73&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.16&lt;/P&gt;

&lt;P&gt;(in bold, Temp and wattage).&lt;/P&gt;

&lt;P&gt;Hope it helps.&lt;/P&gt;

&lt;P&gt;Kind regards,&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 10:16:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073250#M5361</guid>
      <dc:creator>PAgra</dc:creator>
      <dc:date>2016-02-16T10:16:35Z</dc:date>
    </item>
    <item>
      <title>Intel Performance Counter</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073251#M5362</link>
      <description>&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-performance-counter-monitor"&gt;Intel Performance Counter Monitor&lt;/A&gt; provides a C++ API to measure hardware counters, including energy consumption. It doesn't report the absolute temperature but the thermal headroom, i.e. the difference to the maximum temperature that the processor allows.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;/P&gt;

&lt;P&gt;Thomas&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 15:02:01 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073251#M5362</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2016-02-16T15:02:01Z</dc:date>
    </item>
    <item>
      <title>Hi Patrick,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073252#M5363</link>
      <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;

&lt;P&gt;I am really interested in this tool even though I can't use it inside a program like APIs/library. But I couldn't find the way to install it. When I download the files from Github (https://github.com/torvalds/linux/tree/master/tools/power/x86/turbostat) and try to make, the following errors show up. Do you have any ideas how to get it successfully&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;[liu@fornax Temp]$ sudo make&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;gcc -Wall -DMSRHEADER=/usr/include/asm/msr-index.h turbostat.c -o /home/liu/Temp/turbostat&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘get_counters’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1044: error: ‘MSR_KNL_CORE_C6_RESIDENCY’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1044: error: (Each undeclared identifier is reported only once&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1044: error: for each function it appears in.)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1064: error: ‘MSR_PKG_WEIGHTED_CORE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1066: error: ‘MSR_PKG_ANY_CORE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1068: error: ‘MSR_PKG_ANY_GFXE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1070: error: ‘MSR_PKG_BOTH_CORE_GFXE_C0_RES’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_hsw_turbo_ratio_limits’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1202: error: ‘MSR_TURBO_RATIO_LIMIT2’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_ivt_turbo_ratio_limits’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1224: error: ‘MSR_TURBO_RATIO_LIMIT1’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_nhm_turbo_ratio_limits’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1276: error: ‘MSR_TURBO_RATIO_LIMIT’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘dump_config_tdp’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1411: error: ‘MSR_CONFIG_TDP_NOMINAL’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1415: error: ‘MSR_CONFIG_TDP_LEVEL_1’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1425: error: ‘MSR_CONFIG_TDP_LEVEL_2’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1435: error: ‘MSR_CONFIG_TDP_CONTROL’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:1442: error: ‘MSR_TURBO_ACTIVATION_RATIO’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c: In function ‘print_perf_limit’:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:2066: error: ‘MSR_CORE_PERF_LIMIT_REASONS’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:2101: error: ‘MSR_GFX_PERF_LIMIT_REASONS’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;turbostat.c:2123: error: ‘MSR_RING_PERF_LIMIT_REASONS’ undeclared (first use in this function)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;make: *** [turbostat] Error 1&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Regards,&lt;/P&gt;

&lt;P&gt;Jiawen&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Patrick A. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi Jiawen&lt;/P&gt;

&lt;P&gt;You may be interested in the 'turbostat' tool: &lt;A href="http://manpages.ubuntu.com/manpages/oneiric/man8/turbostat.8.html"&gt;http://manpages.ubuntu.com/manpages/oneiric/man8/turbostat.8.html&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;Here some output from a IBM x3250-M5 (in idle state):&lt;BR /&gt;
	[root@x3250-m5 bin]# /usr/local/bin/turbostat -i 5&lt;BR /&gt;
	Avg_MHz&amp;nbsp;&amp;nbsp; %Busy Bzy_MHz TSC_MHz&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SMI&amp;nbsp; CPU%c1&amp;nbsp; CPU%c3&amp;nbsp; CPU%c6&amp;nbsp; CPU%c7 &lt;STRONG&gt;CoreTmp&amp;nbsp; PkgTmp&lt;/STRONG&gt; Pkg%pc2 Pkg%pc3 Pkg%pc6 Pkg%pc7 &lt;STRONG&gt;PkgWatt&lt;/STRONG&gt; CorWatt&lt;BR /&gt;
	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.02&amp;nbsp;&amp;nbsp;&amp;nbsp; 2992&amp;nbsp;&amp;nbsp;&amp;nbsp; 2993&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.02&amp;nbsp;&amp;nbsp; 99.96&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;30&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 32&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4.18&amp;nbsp;&amp;nbsp; 95.77&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.00&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;STRONG&gt;4.73&lt;/STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0.16&lt;/P&gt;

&lt;P&gt;(in bold, Temp and wattage).&lt;/P&gt;

&lt;P&gt;Hope it helps.&lt;/P&gt;

&lt;P&gt;Kind regards,&lt;/P&gt;

&lt;P&gt;Patrick&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:54:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073252#M5363</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-16T17:54:40Z</dc:date>
    </item>
    <item>
      <title>Hi Thomas,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073253#M5364</link>
      <description>&lt;P&gt;Hi Thomas,&lt;/P&gt;

&lt;P&gt;It's a really good tool to get the performance collection. But it couldn't get the package CPU of real-time temperature which I want to collect.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jiawen&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Thomas Willhalm (Intel) wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="https://software.intel.com/en-us/articles/intel-performance-counter-monitor"&gt;Intel Performance Counter Monitor&lt;/A&gt; provides a C++ API to measure hardware counters, including energy consumption. It doesn't report the absolute temperature but the thermal headroom, i.e. the difference to the maximum temperature that the processor allows.&lt;/P&gt;

&lt;P&gt;Kind regards&lt;/P&gt;

&lt;P&gt;Thomas&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 17:57:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073253#M5364</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-16T17:57:35Z</dc:date>
    </item>
    <item>
      <title>Jiawen,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073254#M5365</link>
      <description>&lt;P&gt;Jiawen,&lt;/P&gt;

&lt;P&gt;What kind of processor are you using? The temperature sensors are not available on all platforms.&lt;/P&gt;

&lt;P&gt;What does the included pcm tool report when you run it? Is the last column with the temperature available?&lt;/P&gt;

&lt;P&gt;This is what I see on my (idle) laptop:&lt;BR /&gt;
	&lt;span class="lia-inline-image-display-wrapper" image-alt="PCM laptop.png"&gt;&lt;img src="https://community.intel.com/t5/image/serverpage/image-id/8506i1BB29C2217C3D287/image-size/large?v=v2&amp;amp;px=999&amp;amp;whitelist-exif-data=Orientation%2CResolution%2COriginalDefaultFinalSize%2CCopyright" role="button" title="PCM laptop.png" alt="PCM laptop.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 16 Feb 2016 19:25:33 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073254#M5365</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2016-02-16T19:25:33Z</dc:date>
    </item>
    <item>
      <title>Hi Jiawen,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073255#M5366</link>
      <description>&lt;P&gt;Hi Jiawen,&lt;/P&gt;

&lt;P&gt;In the .c file,I replaced the #include MSRHEADER with #include "msr-index.h" (attached, tar'ed).&lt;/P&gt;

&lt;P&gt;Hope it helps.&lt;BR /&gt;
	Kind regards,&lt;BR /&gt;
	Patrick Agrain&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 17 Feb 2016 07:32:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Detecting-CPU-Temperature/m-p/1073255#M5366</guid>
      <dc:creator>PAgra</dc:creator>
      <dc:date>2016-02-17T07:32:56Z</dc:date>
    </item>
  </channel>
</rss>

