Linux:If Running Kernel Is 32 Or 64 Bit

To find out, if Your kernel is 64 bit or 32 bit, run this commands

uname -a

Sample Out put for 64 bit kernel :

Linux  2.6.16.53-070731a #1 SMP Tue Jul 31 10:46:54 CEST 2007 x86_64 x86_64 x86_64 GNU/Linux

here x86_64 GNU/Linux indicates this kernel is 64 bit.

Sample Output for 32 bit kernel :

Linux sandbox.hostname.local 2.6.18-164.11.1.el5 #1 SMP Wed Jan 20 07:39:04 EST 2010 i686 i686 i386 GNU/Linux

here i386 GNU/Linux indicates its a 32 bit kernel, also if you see i386/i486/i586/i686 which indicates its 32 bit kernel

also:
How to find if processor is 32 bit or 64 bit:
ref : http://fosiul.com/index.php/2010/02/linux-how-to-conferm-64bit32bit-capability-of-cpu/

Additional repository list for 32 bit kernel and 64 bit kernel
http://fosiul.com/index.php/2009/12/yum-repo-list-for-centos/

Tags:

Leave a Reply

*