Scientific Linux Forum.org



  Reply to this topicStart new topicStart Poll

> How to check if your processor is 32 bits or 64 bits
redman
 Posted: Jun 14 2011, 06:15 PM
Quote Post


SLF Admin
********

Group: Admins
Posts: 2006
Member No.: 2
Joined: 8-April 11









If you are unsure if your system/processor is 32 bits or 64 bits, give the following command:
CODE
$ grep flags /proc/cpuinfo

And that outcome will reveal it.

For example, if you get this:
QUOTE
$ grep flags /proc/cpuinfo
flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority
flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc arch_perfmon pebs bts aperfmperf pni dtes64 monitor ds_cpl vmx est tm2 ssse3 cx16 xtpr pdcm xsave lahf_lm tpr_shadow vnmi flexpriority

Then the system is capable of running SL 64 bits.
You need to check if among the flags there is "lm".
The "lm" flag means "Long Mode" cpu -> 64 bits

Anything else, without "lm", means that you can only install SL 32 bits.

For example:
QUOTE
$ grep flags /proc/cpuinfo
flags  : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr
flags  : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe pebs bts cid xtpr

QUOTE
$ grep flags /proc/cpuinfo
flags  : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr sse up



Note: using "uname" will not work since uname only gives information on the used OS.
That means that installing SL 32 bits on a 64 bits system will reveal i386/i686 when using uname.


--------------------
What is SL? - Forum Rules - Info on 3rd Party Repos - How to post images - How to post large text / config files

Desktop: ASUS P5QPL-AM, Intel Dual-Core E6500, 4GB DDR2, ASUS GeForce GT 430 1GB, SL6.5 x86_64
Laptop: ASUS X58L, Intel Dual-Core T3200, 3GB DDR2, Intel GMA X3100, RHEL7.0 x86_64
Test box: Intel S5000PSL, 2x Intel Xeon E5310, 8GB ECC DDR2 FB-DIMM, ASUS GeForce GT 220 1GB, SL7 BETA x86_64 + MATE
PMEmail Poster
^
0 User(s) are reading this topic (0 Guests and 0 Anonymous Users)
0 Members:

Topic Options Reply to this topicStart new topicStart Poll