1826345 Members
4188 Online
109692 Solutions
New Discussion

32 bit or 64 bit

 
SOLVED
Go to solution
Brian  Faulk
Advisor

32 bit or 64 bit

Could you please tell me how to determine if I am a 64 bit or 32 kernal.

Thanks
8 REPLIES 8
Steven E. Protter
Exalted Contributor

Re: 32 bit or 64 bit

Usually you just do a strings for file command on the actual kernel.

file vmlinux-...

You get an answer that tells you what processor its for. i386 is 32 bit, Itanium, etc is 64 bit.

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
Brian  Faulk
Advisor

Re: 32 bit or 64 bit

I made a mistake I didn't say if it was on hp-ux or linux. This is for hp-ux 11.0.

Thanks again.
Nobody's Hero
Valued Contributor
Solution

Re: 32 bit or 64 bit

issue on command line:

getconf KERNEL_BITS

should return 32 or 64.
UNIX IS GOOD
Brian  Faulk
Advisor

Re: 32 bit or 64 bit

Hey that worked, thanks so much.
Now please tell me how to award you some points, I do appreciate your help.
Uwe Zessin
Honored Contributor

Re: 32 bit or 64 bit

NiCK_76
Respected Contributor

Re: 32 bit or 64 bit

Hi Faulk,

Perform command "uname -a" . x86_64 is 64bits kernel, i686/586/486/386 is 32bits.

NiCK
just for fun
Wim Van den Wyngaert
Honored Contributor

Re: 32 bit or 64 bit

I have a 64 bit Alpha.

[root@wsys02 root]# uname -a
Linux wsys02 2.4.9-32 #1 Fri Jun 7 19:00:17 EDT 2002 alpha unknown

???

Wim
Wim
Wim Van den Wyngaert
Honored Contributor

Re: 32 bit or 64 bit

Forgot to be clear : anyone knows why is display 32 bit instead of 64 ?

Wim
Wim