<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	
	>
<channel>
	<title>
	Comments on: How to Check Processor and CPU Details on Linux &#8211; Command Examples	</title>
	<atom:link href="https://www.binarytides.com/linux-check-processor/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.binarytides.com/linux-check-processor/</link>
	<description>News, Technology, Entertainment and more</description>
	<lastBuildDate>Thu, 13 Aug 2020 09:54:27 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.2</generator>
	<item>
		<title>
		By: mmu_man		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-91654</link>

		<dc:creator><![CDATA[mmu_man]]></dc:creator>
		<pubDate>Wed, 17 Aug 2016 22:36:12 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-91654</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67214&quot;&gt;Pádraig Brady&lt;/a&gt;.

nproc is not so cross-platform as it is GNU-specific though. It&#039;s still better than grepping /proc/cpuinfo, but if you really want something that works everywhere except maybe on windows (actually... oh yes, Cygwin has it too), use getconf.

cf. https://gist.github.com/jj1bdx/5746298
or just a oneliner:
cpus=$(getconf NPROCESSORS_ONLN 2&#062;/dev/null &#124;&#124; getconf _NPROCESSORS_ONLN 2&#062;/dev/null &#124;&#124; echo 1)

(*_CONF will count all cpus while *_ONLN counts only online CPUs)]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67214">Pádraig Brady</a>.</p>
<p>nproc is not so cross-platform as it is GNU-specific though. It&#8217;s still better than grepping /proc/cpuinfo, but if you really want something that works everywhere except maybe on windows (actually&#8230; oh yes, Cygwin has it too), use getconf.</p>
<p>cf. <a href="https://gist.github.com/jj1bdx/5746298" rel="nofollow ugc">https://gist.github.com/jj1bdx/5746298</a><br />
or just a oneliner:<br />
cpus=$(getconf NPROCESSORS_ONLN 2&gt;/dev/null || getconf _NPROCESSORS_ONLN 2&gt;/dev/null || echo 1)</p>
<p>(*_CONF will count all cpus while *_ONLN counts only online CPUs)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Richard Prior		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-87916</link>

		<dc:creator><![CDATA[Richard Prior]]></dc:creator>
		<pubDate>Mon, 11 Jul 2016 01:20:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-87916</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-68109&quot;&gt;radek&lt;/a&gt;.

I was struggling to get the graphical hardware utility on Kubuntu 14.04 to run until I read the comments:  

No Response with hwloc as per the instructions, however lstopo and hwloc-ls worked fine.  Thanks for sharing the information.

Rich]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-68109">radek</a>.</p>
<p>I was struggling to get the graphical hardware utility on Kubuntu 14.04 to run until I read the comments:  </p>
<p>No Response with hwloc as per the instructions, however lstopo and hwloc-ls worked fine.  Thanks for sharing the information.</p>
<p>Rich</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: reli		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-68392</link>

		<dc:creator><![CDATA[reli]]></dc:creator>
		<pubDate>Fri, 19 Feb 2016 17:52:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-68392</guid>

					<description><![CDATA[If you are looking for physical CPU count  /proc/cpuinfo is confusing . It gives the number of threads .

To get physical CPU count .

[root@xxx~]#  dmidecode -t 4 &#124; egrep -i &quot;Designation&#124;Intel&#124;core&#124;thread&quot;
        Socket Designation: CPU1
        Manufacturer: Intel
                HTT (Multi-threading)
        Version: Intel(R) Xeon(R) CPU           L5640  @ 2.27GHz
        Core Count: 6
        Core Enabled: 6
        Thread Count: 12
        Socket Designation: CPU2
        Manufacturer: Intel
                HTT (Multi-threading)
        Version: Intel(R) Xeon(R) CPU           L5640  @ 2.27GHz
        Core Count: 6
        Core Enabled: 6
        Thread Count: 12



The same server if i give 

[root@xxxx ~]# cat /proc/cpuinfo &#124; egrep processor &#124; wc -l
24

So its means i have a 24 threads system , so dont rely on cpuinfo .


-R]]></description>
			<content:encoded><![CDATA[<p>If you are looking for physical CPU count  /proc/cpuinfo is confusing . It gives the number of threads .</p>
<p>To get physical CPU count .</p>
<p>[root@xxx~]#  dmidecode -t 4 | egrep -i &#8220;Designation|Intel|core|thread&#8221;<br />
        Socket Designation: CPU1<br />
        Manufacturer: Intel<br />
                HTT (Multi-threading)<br />
        Version: Intel(R) Xeon(R) CPU           L5640  @ 2.27GHz<br />
        Core Count: 6<br />
        Core Enabled: 6<br />
        Thread Count: 12<br />
        Socket Designation: CPU2<br />
        Manufacturer: Intel<br />
                HTT (Multi-threading)<br />
        Version: Intel(R) Xeon(R) CPU           L5640  @ 2.27GHz<br />
        Core Count: 6<br />
        Core Enabled: 6<br />
        Thread Count: 12</p>
<p>The same server if i give </p>
<p>[root@xxxx ~]# cat /proc/cpuinfo | egrep processor | wc -l<br />
24</p>
<p>So its means i have a 24 threads system , so dont rely on cpuinfo .</p>
<p>-R</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: radek		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-68109</link>

		<dc:creator><![CDATA[radek]]></dc:creator>
		<pubDate>Fri, 25 Dec 2015 20:48:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-68109</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67655&quot;&gt;Stephen&lt;/a&gt;.

or hwloc-ls]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67655">Stephen</a>.</p>
<p>or hwloc-ls</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: radek		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-68108</link>

		<dc:creator><![CDATA[radek]]></dc:creator>
		<pubDate>Fri, 25 Dec 2015 20:46:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-68108</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67655&quot;&gt;Stephen&lt;/a&gt;.

or lstopo-ls]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67655">Stephen</a>.</p>
<p>or lstopo-ls</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Torsten Rusch		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67977</link>

		<dc:creator><![CDATA[Torsten Rusch]]></dc:creator>
		<pubDate>Wed, 24 Jun 2015 23:08:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-67977</guid>

					<description><![CDATA[Useless use of cat. 


cat /proc/cpuinfo &#124; grep processor

Better do: 

grep processor /proc/cpuinfo]]></description>
			<content:encoded><![CDATA[<p>Useless use of cat. </p>
<p>cat /proc/cpuinfo | grep processor</p>
<p>Better do: </p>
<p>grep processor /proc/cpuinfo</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Stephen		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67655</link>

		<dc:creator><![CDATA[Stephen]]></dc:creator>
		<pubDate>Tue, 09 Dec 2014 02:34:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-67655</guid>

					<description><![CDATA[In the last example you have hwloc as the command to run.  You meant to have $ lstopo.

$ sudo apt-get install hwloc
$ hwloc]]></description>
			<content:encoded><![CDATA[<p>In the last example you have hwloc as the command to run.  You meant to have $ lstopo.</p>
<p>$ sudo apt-get install hwloc<br />
$ hwloc</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Pádraig Brady		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67214</link>

		<dc:creator><![CDATA[Pádraig Brady]]></dc:creator>
		<pubDate>Sun, 13 Jul 2014 13:15:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-67214</guid>

					<description><![CDATA[Note a user space util designed to be used from shell scripts etc. available on most systems through GNU coreutils is nproc. This returns the number of _available_ processors in a cross platform way. For example:

make -j $(nproc)]]></description>
			<content:encoded><![CDATA[<p>Note a user space util designed to be used from shell scripts etc. available on most systems through GNU coreutils is nproc. This returns the number of _available_ processors in a cross platform way. For example:</p>
<p>make -j $(nproc)</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Miquel Mayol i Tur		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-67204</link>

		<dc:creator><![CDATA[Miquel Mayol i Tur]]></dc:creator>
		<pubDate>Wed, 09 Jul 2014 14:24:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-67204</guid>

					<description><![CDATA[No bogomips? it is the first thing I do read to compare CPUs]]></description>
			<content:encoded><![CDATA[<p>No bogomips? it is the first thing I do read to compare CPUs</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Virneto		</title>
		<link>https://www.binarytides.com/linux-check-processor/comment-page-1/#comment-66314</link>

		<dc:creator><![CDATA[Virneto]]></dc:creator>
		<pubDate>Fri, 04 Jul 2014 10:54:23 +0000</pubDate>
		<guid isPermaLink="false">http://www.binarytides.com/?p=7334#comment-66314</guid>

					<description><![CDATA[Very nice and usefull commands collection!!
Pretty awesome!!

Cheers to you!]]></description>
			<content:encoded><![CDATA[<p>Very nice and usefull commands collection!!<br />
Pretty awesome!!</p>
<p>Cheers to you!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
