LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 01-02-2007, 08:20 AM   #1
shads2k5
LQ Newbie
 
Registered: Jun 2006
Posts: 26

Rep: Reputation: 15
Question 32 or 64 bit ?


Hi Folks ,

I have a small doubt , can anyone help me out in finding what is the bit level of kernel as well as CPU , like 32 or 64 bit ?

well i tried with dmidecode but was not able to find speficicallly this ,or is ther anything that i should check on the output of the dmidecode ..

Please help me regarding this .

thanks,
shads
 
Old 01-02-2007, 08:34 AM   #2
Lenard
Senior Member
 
Registered: Dec 2005
Location: Indiana
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790

Rep: Reputation: 58
The command 'uname -a' minus the single quotemarks will tell you if the kernel is 32 or 64 bit (after a little human decoding);

$ uname -a
Linux Aspire5000 2.6.20-rc3 #1 Mon Jan 1 12:56:26 EST 2007 x86_64 x86_64 x86_64 GNU/Linux

The command 'cat /proc/cpuinfo' minus the single quotemarks will do the same for the CPU;

$ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 15
model : 36
model name : AMD Turion(tm) 64 Mobile Technology ML-30
stepping : 2
cpu MHz : 1600.091
cache size : 1024 KB
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 syscall nx mmxext fxsr_opt lm 3dnowext 3dnow pni lahf_lm
bogomips : 3200.74
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management: ts fid vid ttp tm stc
 
Old 01-02-2007, 08:56 AM   #3
shads2k5
LQ Newbie
 
Registered: Jun 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Question

Hi ,

First of all let me thank you for the info provided.

well i have checked with both these commands and i dont c anything specific in my box ,even iam not able to see some fo the field which you have pasted from the commands "uname -a and cat /proc/cpuinfo"

Is ther any other method to findout ..??

when i gave cat /proc/cpuinfo

processor : 4
vendor_id : GenuineIntel
cpu family : 15
model : 2
model name : Intel(R) Xeon(TM) MP CPU 3.00GHz
stepping : 6
cpu MHz : 3000.630
cache size : 512 KB
physical id : 2
siblings : 2
runqueue : 4
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 2
wp : yes
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
bogomips : 5989.99


and from the output uname -a its

Linux testbox 2.4.21-32.0.1.ELsmp #1 SMP Tue May 17 17:52:23 EDT 2005 i686 i686 i386 GNU/Linux


so is ther any method to finout from these outputs ..??
 
Old 01-02-2007, 09:34 AM   #4
oneandoneis2
Senior Member
 
Registered: Nov 2003
Location: London, England
Distribution: Ubuntu
Posts: 1,460

Rep: Reputation: 48
i686 is 32-bit
 
Old 01-02-2007, 09:49 AM   #5
shads2k5
LQ Newbie
 
Registered: Jun 2006
Posts: 26

Original Poster
Rep: Reputation: 15
okss thanks

can i know what will it show if its an 64 bit ?? would it show 64 itself ?

and how about the CPU bit , how can we check that ? is that visisble in the cat /proc/cpuinfo output ? ?
 
Old 01-02-2007, 10:18 AM   #6
galle
Member
 
Registered: Sep 2003
Location: Bergen, Norway
Distribution: Debian testing
Posts: 69

Rep: Reputation: 16
If you have a 64-bit kernel it would say x86_64 instead of i686 or i386 when you run 'uname -a' (see the output in Lenard's post).

I'm not so sure about the cpu though. Are all Intel Xeon processors 64-bit?
 
Old 01-02-2007, 10:33 AM   #7
shads2k5
LQ Newbie
 
Registered: Jun 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Hi ,
well that was answered well. but on the CPU info i guess all Inter Xeon processors are not 64 bit we have 32 bit too.. so is ther any other way to find out which bit is currntly using ? ?
 
Old 01-02-2007, 10:35 AM   #8
shads2k5
LQ Newbie
 
Registered: Jun 2006
Posts: 26

Original Poster
Rep: Reputation: 15
Hi ,

well that was answered perfect . But i guess all Intel Xeon CPU is not of 64 bit , some are of 32 bit too , so is ther anyway to chk what is the present CPU bit used ?

Thanks in advance
 
  


Reply



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
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Laptop and Netbook 2 11-16-2006 09:20 PM
Integrated 16-bit Sound Blaster Pro compatible audio 24-bit DAC jelgavchik Linux - Hardware 1 11-16-2006 05:31 PM
32 bit or 64 bit install - is 32 bit easier for a newbie? dms05 Linux - Newbie 3 05-19-2006 03:05 PM
Which version of 32 bit redhat will install on IBM xSeries 366 (64 bit)? Hello123 Linux - Hardware 2 09-14-2005 05:50 AM
Graphic Card that Supports displaying 8-bit and 24-bit images simultaneously yrraja Linux - Hardware 2 04-30-2003 06:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 05:47 PM.

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
Open Source Consulting | Domain Registration