<?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: Linux Find If Processor / CPU is 64 bit / 32 bit ( long mode ~ lm )</title> <atom:link href="http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: josh</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-65873</link> <dc:creator>josh</dc:creator> <pubDate>Wed, 21 Dec 2011 17:21:52 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-65873</guid> <description>lshw -class processor</description> <content:encoded><![CDATA[<p>lshw -class processor</p> ]]></content:encoded> </item> <item><title>By: josh</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-65872</link> <dc:creator>josh</dc:creator> <pubDate>Wed, 21 Dec 2011 17:21:07 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-65872</guid> <description>simply use the following command
lshw -class processor</description> <content:encoded><![CDATA[<p>simply use the following command<br
/> lshw -class processor</p> ]]></content:encoded> </item> <item><title>By: nicole</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-65322</link> <dc:creator>nicole</dc:creator> <pubDate>Thu, 08 Dec 2011 14:06:58 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-65322</guid> <description>IBM Power 5 510
uname -m
ppc64
getconf LONG_BIT
32
Loaded OS
RHEL 5.6 PPC
why it says 32 bit?</description> <content:encoded><![CDATA[<p>IBM Power 5 510<br
/> uname -m<br
/> ppc64</p><p>getconf LONG_BIT<br
/> 32<br
/> Loaded OS<br
/> RHEL 5.6 PPC</p><p>why it says 32 bit?</p> ]]></content:encoded> </item> <item><title>By: Saurabh</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-64287</link> <dc:creator>Saurabh</dc:creator> <pubDate>Thu, 10 Nov 2011 07:11:40 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-64287</guid> <description>uname -m</description> <content:encoded><![CDATA[<p>uname -m</p> ]]></content:encoded> </item> <item><title>By: al</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-64241</link> <dc:creator>al</dc:creator> <pubDate>Tue, 08 Nov 2011 22:29:27 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-64241</guid> <description>Big thanks.</description> <content:encoded><![CDATA[<p>Big thanks.</p> ]]></content:encoded> </item> <item><title>By: Jeremy</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-62155</link> <dc:creator>Jeremy</dc:creator> <pubDate>Mon, 05 Sep 2011 03:54:38 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-62155</guid> <description>That&#039;s because you are running a 32bit kernel.</description> <content:encoded><![CDATA[<p>That&#8217;s because you are running a 32bit kernel.</p> ]]></content:encoded> </item> <item><title>By: Bill</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-60003</link> <dc:creator>Bill</dc:creator> <pubDate>Tue, 14 Jun 2011 21:02:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-60003</guid> <description>Thank you Jamieson for the most useful, polite and comprehensive reply. I so wish the internet had more ppl like you and less...
IMO It put a lot of the others to shame who seem to like to chitchat on stuff they don&#039;t really know (yes, this was not polite, on purpose).
/Bill</description> <content:encoded><![CDATA[<p>Thank you Jamieson for the most useful, polite and comprehensive reply. I so wish the internet had more ppl like you and less&#8230;</p><p>IMO It put a lot of the others to shame who seem to like to chitchat on stuff they don&#8217;t really know (yes, this was not polite, on purpose).</p><p>/Bill</p> ]]></content:encoded> </item> <item><title>By: Sniper</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-59502</link> <dc:creator>Sniper</dc:creator> <pubDate>Thu, 19 May 2011 00:26:53 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-59502</guid> <description>@ dhanalakshmi:
From the output of &quot;uname -a&quot; it seems that your OS is most likely a 32 bit Debian (or ArchLinux, or Linux Mint; more probable one of the first two) on 2.6.29.1 custom-built 32-bit SMP kernel running on a 2 GHz laptop computer.</description> <content:encoded><![CDATA[<p>@ dhanalakshmi:<br
/> From the output of &#8220;uname -a&#8221; it seems that your OS is most likely a 32 bit Debian (or ArchLinux, or Linux Mint; more probable one of the first two) on 2.6.29.1 custom-built 32-bit SMP kernel running on a 2 GHz laptop computer.</p> ]]></content:encoded> </item> <item><title>By: dhanalakshmi</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-59485</link> <dc:creator>dhanalakshmi</dc:creator> <pubDate>Wed, 18 May 2011 10:54:37 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-59485</guid> <description>from this command :
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2
from this command :
Linux dhanalakshmi 2.6.29.1-desktop-4mnb #1 SMP Mon Apr 20 18:57:56 EDT 2009 i686 Intel(R) Pentium(R) M processor 2.00GHz GNU/Linux
Can you tell me please
what os is mine ?</description> <content:encoded><![CDATA[<p>from this command :<br
/> flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss tm pbe nx up bts est tm2</p><p>from this command :<br
/> Linux dhanalakshmi 2.6.29.1-desktop-4mnb #1 SMP Mon Apr 20 18:57:56 EDT 2009 i686 Intel(R) Pentium(R) M processor 2.00GHz GNU/Linux</p><p>Can you tell me please<br
/> what os is mine ?</p> ]]></content:encoded> </item> <item><title>By: Shiva</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-57197</link> <dc:creator>Shiva</dc:creator> <pubDate>Sun, 10 Apr 2011 19:11:24 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-57197</guid> <description>you info was very helpful..</description> <content:encoded><![CDATA[<p>you info was very helpful..</p> ]]></content:encoded> </item> <item><title>By: Niels Dettenbach</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-56515</link> <dc:creator>Niels Dettenbach</dc:creator> <pubDate>Tue, 22 Mar 2011 12:05:32 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-56515</guid> <description>yes,
BUT
cat /proc/cpuinfo
does not give a reliable information about 64bit cap. cpu hardware too as several different CPU types gives different flags here etc. (see the thread). This means you have do dig into the CPU specs from the vendor to be *really* shure (or try to start a 64bit OS).</description> <content:encoded><![CDATA[<p>yes,</p><p>BUT</p><p> cat /proc/cpuinfo</p><p>does not give a reliable information about 64bit cap. cpu hardware too as several different CPU types gives different flags here etc. (see the thread). This means you have do dig into the CPU specs from the vendor to be *really* shure (or try to start a 64bit OS).</p> ]]></content:encoded> </item> <item><title>By: typhoon</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-56485</link> <dc:creator>typhoon</dc:creator> <pubDate>Tue, 22 Mar 2011 05:08:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-56485</guid> <description># getconf LONG_BIT seems only os 32 or 64 bit that running on your pc
it must not be cpu 32 or 64 bit
may need command cat /pro/cpuinfo for more information about cpu</description> <content:encoded><![CDATA[<p># getconf LONG_BIT seems only os 32 or 64 bit that running on your pc<br
/> it must not be cpu 32 or 64 bit<br
/> may need command cat /pro/cpuinfo for more information about cpu</p> ]]></content:encoded> </item> <item><title>By: Niels Dettenbach</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-56106</link> <dc:creator>Niels Dettenbach</dc:creator> <pubDate>Thu, 03 Mar 2011 09:19:41 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-56106</guid> <description>&gt; -m, –machine
&gt; print the machine hardware name
This is correct - but not your interpretation of it.
If you run i.e. a i386 sys on a 64 bit capable box you can get &#039;i386&#039; but not &#039;x86_64&#039; or something 64bit related. But this all was still topic in this thread here:
http://www.cyberciti.biz/tips/how-do-i-find-out-if-my-server-cpu-can-run-a-64-bit-kernel-version-apps-or-not.html
The only thing you can say if a 64bit system runs on that hardware (and so will print out uname -m implicite) it IS 64bit capable.
And in a very precise way even dmidecode doesn&#039;t gives you are reliable answer as there are incomplete or incorrect dmi implementations out there. So the most / only reliable way is to try boot a 64bit OS.
cheers,
Niels.</description> <content:encoded><![CDATA[<p>&gt; -m, –machine<br
/> &gt; print the machine hardware name<br
/> This is correct &#8211; but not your interpretation of it.</p><p>If you run i.e. a i386 sys on a 64 bit capable box you can get &#8216;i386&#8242; but not &#8216;x86_64&#8242; or something 64bit related. But this all was still topic in this thread here:<br
/> <a
href="http://www.cyberciti.biz/tips/how-do-i-find-out-if-my-server-cpu-can-run-a-64-bit-kernel-version-apps-or-not.html" rel="nofollow">http://www.cyberciti.biz/tips/how-do-i-find-out-if-my-server-cpu-can-run-a-64-bit-kernel-version-apps-or-not.html</a></p><p>The only thing you can say if a 64bit system runs on that hardware (and so will print out uname -m implicite) it IS 64bit capable.</p><p>And in a very precise way even dmidecode doesn&#8217;t gives you are reliable answer as there are incomplete or incorrect dmi implementations out there. So the most / only reliable way is to try boot a 64bit OS.</p><p>cheers,</p><p>Niels.</p> ]]></content:encoded> </item> <item><title>By: Manoj</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-56101</link> <dc:creator>Manoj</dc:creator> <pubDate>Thu, 03 Mar 2011 08:09:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-56101</guid> <description>Yes you are correct about &quot;getconf LONG_BIT&quot; but manual says:
man uname
-m, --machine
print the machine hardware name
Machine hardware name will be architecture....
Thanks,
Manoj</description> <content:encoded><![CDATA[<p>Yes you are correct about &#8220;getconf LONG_BIT&#8221; but manual says:</p><p>man uname</p><p> -m, &#8211;machine<br
/> print the machine hardware name</p><p>Machine hardware name will be architecture&#8230;.</p><p>Thanks,<br
/> Manoj</p> ]]></content:encoded> </item> <item><title>By: Niels Dettenbach</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-56100</link> <dc:creator>Niels Dettenbach</dc:creator> <pubDate>Thu, 03 Mar 2011 08:02:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-56100</guid> <description>No, this is not correct as you can read in the discussions here.
&quot;uname&quot; just gives you out how your sys was compiled - not the hardware specs. If it IS a 64 then you (should) HAVE a 64bit (capable) CPU - but not vice versa!
Just to sum up the discussion here: To find out if a cpu id 32 or 64 bit you have the following options - from less reeliablest to reliable:
- uname
- getconf LONG_BIT / cat /usr/include/asm/cpufeature.h
- cat /proc/cpuinfo
- DMI / dmidecode
- try to boot a 64bit linux (i.e. live system) or read the public specs of a CPU
OK?
This means uname is the option with the lowest (!) trust in this question.
cheers,
Niels.</description> <content:encoded><![CDATA[<p>No, this is not correct as you can read in the discussions here.</p><p>&#8220;uname&#8221; just gives you out how your sys was compiled &#8211; not the hardware specs. If it IS a 64 then you (should) HAVE a 64bit (capable) CPU &#8211; but not vice versa!</p><p>Just to sum up the discussion here: To find out if a cpu id 32 or 64 bit you have the following options &#8211; from less reeliablest to reliable:</p><p> &#8211; uname<br
/> &#8211; getconf LONG_BIT / cat /usr/include/asm/cpufeature.h<br
/> &#8211; cat /proc/cpuinfo<br
/> &#8211; DMI / dmidecode<br
/> &#8211; try to boot a 64bit linux (i.e. live system) or read the public specs of a CPU</p><p>OK?<br
/> This means uname is the option with the lowest (!) trust in this question.</p><p>cheers,</p><p>Niels.</p> ]]></content:encoded> </item> <item><title>By: Manoj</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-56080</link> <dc:creator>Manoj</dc:creator> <pubDate>Wed, 02 Mar 2011 11:37:03 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-56080</guid> <description>This can also be achieved by following:
uname -i
or
uname -m
Corrent me if am wrong :)</description> <content:encoded><![CDATA[<p>This can also be achieved by following:</p><p>uname -i<br
/> or<br
/> uname -m</p><p>Corrent me if am wrong :)</p> ]]></content:encoded> </item> <item><title>By: Niels Dettenbach</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-54102</link> <dc:creator>Niels Dettenbach</dc:creator> <pubDate>Thu, 30 Dec 2010 08:19:25 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-54102</guid> <description>afaik lshv uses DMI too - so it does not get more informations out then dmidecode or other described sources here - just brings it into some &quot;nice&quot; (may just overloaded in this scenario) HTML stuff). I assume that is usualy not that what peoples want if they want to script something...
Not at least: as dmidecode and other DMI-tools it works only if the kernel provides DMI access / drivers to the regarding hardware.
As i stated before - there is no reliable (!) way to find out if a CPU (which is not shown as 64bit capable by all these tools and commands) is NOT a 64bit capable one. dmidecode (DMI) is (afaik) the most reliable source on system side but not correct in each case.
In such cases you have to:
- dig after the (original) CPU spec docs
OR
- just try to start a 64bit system (i.e. a Live CD or USB)
cheers,
Niels Dettenbach.
http://dettenbach.de</description> <content:encoded><![CDATA[<p>afaik lshv uses DMI too &#8211; so it does not get more informations out then dmidecode or other described sources here &#8211; just brings it into some &#8220;nice&#8221; (may just overloaded in this scenario) HTML stuff). I assume that is usualy not that what peoples want if they want to script something&#8230;</p><p>Not at least: as dmidecode and other DMI-tools it works only if the kernel provides DMI access / drivers to the regarding hardware.</p><p>As i stated before &#8211; there is no reliable (!) way to find out if a CPU (which is not shown as 64bit capable by all these tools and commands) is NOT a 64bit capable one. dmidecode (DMI) is (afaik) the most reliable source on system side but not correct in each case.</p><p>In such cases you have to:</p><p> &#8211; dig after the (original) CPU spec docs<br
/> OR<br
/> &#8211; just try to start a 64bit system (i.e. a Live CD or USB)</p><p>cheers,</p><p>Niels Dettenbach.<br
/> <a
href="http://dettenbach.de" rel="nofollow">http://dettenbach.de</a></p> ]]></content:encoded> </item> <item><title>By: LinuxAdmin</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-54060</link> <dc:creator>LinuxAdmin</dc:creator> <pubDate>Wed, 29 Dec 2010 22:05:10 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-54060</guid> <description>getconf LONG_BIT
which returns either 32 or 64
says nothing about the cpu capabilities, just the os that is running. ( you can run 32bit os on 64bit capable chip, but not the other way arround)  the ;
&gt; cat /proc/cpuinfo
and looking for lm seems to tell you if it is capable of 64bit
and it also tells you the chip and model # which you can google and verify.</description> <content:encoded><![CDATA[<p>getconf LONG_BIT<br
/> which returns either 32 or 64<br
/> says nothing about the cpu capabilities, just the os that is running. ( you can run 32bit os on 64bit capable chip, but not the other way arround)  the ;<br
/> &gt; cat /proc/cpuinfo<br
/> and looking for lm seems to tell you if it is capable of 64bit<br
/> and it also tells you the chip and model # which you can google and verify.</p> ]]></content:encoded> </item> <item><title>By: Snowbird</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-53810</link> <dc:creator>Snowbird</dc:creator> <pubDate>Mon, 27 Dec 2010 22:29:42 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-53810</guid> <description>Forget everything and just use in your shell window
lshv
If you dont have this try installing it  (yum install lshv)
this utility will give you more than what you want to know :)
you can also get html report of your complete hardware info by typing:
lshv -html  &gt; report.html</description> <content:encoded><![CDATA[<p>Forget everything and just use in your shell window<br
/> lshv</p><p>If you dont have this try installing it  (yum install lshv)<br
/> this utility will give you more than what you want to know :)</p><p>you can also get html report of your complete hardware info by typing:</p><p>lshv -html  &gt; report.html</p> ]]></content:encoded> </item> <item><title>By: Niels Dettenbach</title><link>http://www.cyberciti.biz/faq/linux-how-to-find-if-processor-is-64-bit-or-not/#comment-50371</link> <dc:creator>Niels Dettenbach</dc:creator> <pubDate>Tue, 26 Oct 2010 14:33:35 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/faq/linux-how-to-find-if-processor-is-64-bit-or-not.php#comment-50371</guid> <description>please read postings more down - this is not correct in any case too...
cheers,
Niels.
---
http://www.dettenbach.de</description> <content:encoded><![CDATA[<p>please read postings more down &#8211; this is not correct in any case too&#8230;</p><p>cheers,</p><p>Niels.<br
/> &#8212;<br
/> <a
href="http://www.dettenbach.de" rel="nofollow">http://www.dettenbach.de</a></p> ]]></content:encoded> </item> </channel> </rss>
