cancel
Showing results for 
Search instead for 
Did you mean: 

Linux Version

Former Member
0 Kudos

Hi All,

I have one query, I checked on google also but still have some doubts.

We are using Linux 3 EL for one of our SAP application.

1 ) How to check whether installed OS is Linux 32 , 64 bit and how to check is it IA(like IA32, IA64) release or X(X86 or X86_64)

I checked that uname -a gives this information so as per below output, I am sure that we are using 32 bit OS but not sure it is

IA release or X release:

uname -a

Linux dione 2.4.21-63.ELsmp #1 SMP Wed Oct 28 23:15:46 EDT 2009 i686 i686 i386 GNU/Linux

2) How to check our hardware is 64 bit supportable or not.

Regards,

Shivam

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

2) How to check our hardware is 64 bit supportable or not.

If you got your server documents like delivery note just check the vendor information like HP DL380 or Dell PowerEdge or whatever you got. If you got/find some information about your CPU then you should be able to find out if you can install 64bit OS on your server.

Former Member
0 Kudos

Hello Shivam,

Your OS is installed under 32 bits architeture, we can see this by the part marked in bold:

Linux dione 2.4.21-63.ELsmp #1 SMP Wed Oct 28 23:15:46 EDT 2009 i686 i686 i386 GNU/Linux

If you want to know if your hardware supports or not 64 bit architeture, you can issue the following command:

grep "flags" /proc/cpuinfo

If you see the flag lm listed on the flags field, it means that your processor can read 64 bits instructions. You can see this on the Linux kernel source code on cpufeature.h:

#define X86_FEATURE_LM (132+29) / Long Mode (x86-64) */

Cheers,

Maurício

Former Member
0 Kudos

Hi,

Output of command grep "flags" /proc/cpuinfo shows :

and it contains lm in last so it means it has 64 bit compatiblity.

mittals@XYZ:/home/mittals> 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 lm

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 lm

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 lm

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 lm

Please also confirm as output of uname -m is:

mittals@XYZ:/home/mittals> uname -m

i686

So i have confirmed by this command that my OS is 32 bit architectire but as we need to upgrade database so we need to know whether it is IA32 or X32 bit.

Please suggest.

Shivam

Former Member
0 Kudos

Shivam,

x86 and IA32 means the same thing. IA32 stands for Intel Architeture 32bits, while x86 is the generic name for this architeture.

Cheers,

Maurício

Former Member
0 Kudos

execute command: uname -m

or file /usr/bin/file