Operating System - Linux
1827866 Members
2037 Online
109969 Solutions
New Discussion

SuSE Linux find kernel bit version

 
SOLVED
Go to solution
Karthik S S
Honored Contributor

SuSE Linux find kernel bit version

Hi,

How can I find out if I am running 32bit or 64bit linux?? uname doesnt show this info!

Thanks in advance,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: SuSE Linux find kernel bit version

Find the vmunix file

cd /boot on my distribution.

file vmlinux....

That will give you the bit size.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Karthik S S
Honored Contributor

Re: SuSE Linux find kernel bit version

Hello Sep,

Thanks for you response.

However file vmuniz.XXX didnt return any useful info. on the bit version.

Thanks,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Michael Williams_6
Trusted Contributor
Solution

Re: SuSE Linux find kernel bit version

Hello there, I'm running SLES8 (32bit) and SLES9 (64bit), so I presume the following will work for any SuSE product, but I can tell the following by:

32bit:
michaelw@linpo: echo $HOSTTYPE
i386

64bit:
helpdesk:~ # echo $HOSTTYPE
x86_64
Karthik S S
Honored Contributor

Re: SuSE Linux find kernel bit version

Thank you Michael. Is it possible to run 32 bit kernel on 64 bit machine??

Because, I needed this info. for one of my friend and he says that he has a IA64 machine running with a 32 bit version of SuSE Linux!

Thanks,
Karthik S S
For a list of all the ways technology has failed to improve the quality of life, please press three. - Alice Kahn
Michael Williams_6
Trusted Contributor

Re: SuSE Linux find kernel bit version

Yes you can, I think the exact message is "Cool computer, but you're running a 32-bit OS on a 64bit computer!"

Which is mildly amusing, but it runs without any issues at all...

Please bear in mind that I'm running on an Intel EM64T processor, but the theory is the same for the AMD 64bit processor...

Mike
Serviceguard for Linux
Honored Contributor

Re: SuSE Linux find kernel bit version

Minor clarification.

IA64 machines from HP are the Integrity systems with Itanium processors. You cannot load an IA32 version of the OS on these machines.

And, yes, you can run the IA32 bit OS on the EM64T and AMD64 based machines. As I remember SUSE doesn't have a 64bit version for the EM64T machines, so if you need SUSE9 to support some app, then you must run it in IA32 mode.
Michael Williams_6
Trusted Contributor

Re: SuSE Linux find kernel bit version

Good point - I'd forgotten about Itanium! 32bit Linux won't work on that!

And SLES9 is the Enterprise Linux that is 64-bit capable, I wouldn't recommend installing the normal SuSE Linux on HP hardware as it's not supported!
Subbu_2
New Member

Re: SuSE Linux find kernel bit version

HI,
Try using "/usr/bin/isainfo -kv". This will show the kernet bit version.

Subbu