LinuxQuestions.org
Review your favorite Linux distribution.
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 06-12-2006, 03:45 AM   #1
abha_shrimal
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Rep: Reputation: 0
How to identify whether a prpcessor is 32- bit or 64-bit


Hi All,

I have fedora-5 installed in my system, is there any way to find out whether the processor is 64-bit or 32-bit.
I know that the OS is 32-bit for sure.

Can anybody help me in knowing the output of the following command on a 64-bit processor system:

uname -p
uname -m

Thanks,
Abha.
 
Old 06-12-2006, 04:22 AM   #2
jlo_sandog
Member
 
Registered: Jul 2005
Location: USA
Distribution: F10 (x86_64)
Posts: 549

Rep: Reputation: 32
uname will give you the operating system. For example x86_64 is a 64 bit system. For cpu info ...
cat /proc/cpuinfo

Last edited by jlo_sandog; 06-12-2006 at 04:25 AM.
 
Old 06-12-2006, 05:12 AM   #3
abha_shrimal
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by jlo_sandog
uname will give you the operating system. For example x86_64 is a 64 bit system. For cpu info ...
cat /proc/cpuinfo
I tried out this but nowhere i am getting any information as to what bit processor it is. When I run this command I get the following output:

$ cat /proc/cpuinfo

processor : 0
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Pentium(R) 4 CPU 2.80GHz
stepping : 9
cpu MHz : 2793.102
cache size : 1024 KB
physical id : 0
siblings : 1
core id : 0
cpu cores : 1
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 5
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 pbe nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr lahf_lm
bogomips : 5592.47

Thanks,
Abha.
 
Old 06-12-2006, 05:16 AM   #4
essahar
LQ Newbie
 
Registered: Jun 2006
Distribution: Red Hat Enterprise Linux
Posts: 12

Rep: Reputation: 0
this is a 64 bit CPU, in your /proc/cpuinfo in flags section there is lm that's mean that your CPU support long mode, and this capability is available only for 64 CPU
Quote:
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 pbe nx lm constant_tsc pni monitor ds_cpl cid cx16 xtpr lahf_lm

Last edited by essahar; 06-12-2006 at 05:27 AM.
 
Old 06-12-2006, 09:50 AM   #5
abha_shrimal
LQ Newbie
 
Registered: Dec 2005
Posts: 7

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by essahar
this is a 64 bit CPU, in your /proc/cpuinfo in flags section there is lm that's mean that your CPU support long mode, and this capability is available only for 64 CPU

Thanks a lot for such a quick reply.
 
Old 06-14-2006, 01:40 PM   #6
llasse
LQ Newbie
 
Registered: Jun 2006
Posts: 2

Rep: Reputation: 1
Hi.
Can anyone point to a list of what all the stuff proc/cpuinfo writes actually mean?... Now I know that lm=Long mode. But what about the rest of the flags, and the family / model numbers?
 
Old 11-04-2010, 03:44 PM   #7
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
Quote:
Originally Posted by llasse View Post
Hi.
Can anyone point to a list of what all the stuff proc/cpuinfo writes actually mean?... Now I know that lm=Long mode. But what about the rest of the flags, and the family / model numbers?
View the kernel source tree..
/usr/include/asm/cpufeature.h

Here's an example of what it would look like...
http://www.linuxforums.org/forum/mis...nfo-flags.html

Here's another thread on the LQ forum...
http://www.linuxquestions.org/questi...lag-lm-358563/

It's good to search first and ask if you can't find it.

Last edited by sag47; 11-04-2010 at 03:45 PM.
 
Old 11-04-2010, 04:26 PM   #8
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,978

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Family and model come from intel's web site or others that list cpu's.
 
  


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
how to identify whether a system is 32 or 64 bit gsr_kashyap Red Hat 33 01-04-2012 02:54 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 08:37 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