LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-02-2008, 11:55 AM   #1
SimGuy
Member
 
Registered: Jul 2008
Posts: 38

Rep: Reputation: 17
How do I tell if my kernel is 32 bit or 64 bit?


I am running kernel 2.6.15-1.2054_FC5smp. Is this 32 bit or 64 bit?
Thanks
 
Old 07-02-2008, 12:06 PM   #2
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
You could have gotten the answer faster by searching the forum for the many times that was asked and answered before.

But try:
uname -a

For a 64 bit kernel, the output will include x86_64 at least once (I think twice).
For a 32 bit kernel it won't say x86_64 and will say something such as 686 instead.

There are several other ways to get the same answer.
 
Old 07-02-2008, 12:11 PM   #3
tanveer
Member
 
Registered: Feb 2004
Location: e@rth
Distribution: RHEL-3/4/5,Gloria,opensolaris
Posts: 525

Rep: Reputation: 37
give command
# arch
will output x86_64 if 64 bit or will output i386/686 for 32 bit.
 
Old 07-02-2008, 12:23 PM   #4
SimGuy
Member
 
Registered: Jul 2008
Posts: 38

Original Poster
Rep: Reputation: 17
ok I have a 32bit, thanks for the help
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
64 bit cpu-64 bit Ubuntu-are there 32 bit app issues? sofasurfer Ubuntu 7 04-09-2014 03:02 PM
how to check linux kernel is 32 bit or 64 bit surprise_frnd Linux - General 13 10-16-2012 10:55 AM
compiling 64 bit kernel in 32 bit linux MadnessASAP Linux - Hardware 6 05-04-2009 12:47 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 04:05 PM
32 bit kernel on 64 bit AMD machine dipsae Linux - Software 5 10-01-2004 11:03 AM


All times are GMT -5. The time now is 09:49 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration