LinuxQuestions.org
Register a domain and help support LQ
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 08-13-2012, 04:52 PM   #1
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Rep: Reputation: 0
cpu 32 or 64 bit


I am trying to find out if my cpu can handle 64 bit Linux operating system

uname -a

Linux prod-db.jha.org 2.6.5-7.244-bigsmp #1 SMP Mon Dec 12 18:32:25 UTC 2005 i686 i686 i386 GNU/Linux


cat /proc/cpuinfo

processor : 7
vendor_id : GenuineIntel
cpu family : 15
model : 4
model name : Intel(R) Xeon(TM) MP CPU 3.00GHz
stepping : 1
cpu MHz : 3001.693
cache size : 1024 KB
physical id : 7
siblings : 2
core id : 7
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 pni monitor ds_cpl tm2 est cid
bogomips : 5996.54


Any ideas ?
 
Old 08-13-2012, 04:57 PM   #2
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: CentOS
Posts: 2,959

Rep: Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268Reputation: 1268
The presence of the "lm" (Long Mode) flag says yes, it is a 64-bit cpu.
 
1 members found this post helpful.
Old 08-13-2012, 04:57 PM   #3
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Run

Code:
grep flags /proc/cpuinfo
If "lm" (lowercase L) is in the return, it's 64 bit. If "pm" it's 32.

EDIT: Missed in the OP!
 
1 members found this post helpful.
Old 08-13-2012, 06:06 PM   #4
rjnlinux
Member
 
Registered: Sep 2009
Posts: 41

Original Poster
Rep: Reputation: 0
Thanks all
 
Old 08-13-2012, 07:15 PM   #5
Tinkster
Moderator
 
Registered: Apr 2002
Location: in a fallen world
Distribution: slackware by choice, others too :} ... android.
Posts: 23,066
Blog Entries: 11

Rep: Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910Reputation: 910
While the question has been answered ...
Code:
awk '$1 ~ /flags/ && $0 ~ / lm / {print "64-bit CPU"}' /proc/cpuinfo
;)
 
  


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
DVD distro of ubuntu 9.10 64 bit doesn't see VIA Nano C7D CPU as 64 bit raypsi Linux - Hardware 2 08-30-2010 10:48 PM
32 bit or 64 bit (OS or CPU) abhishekrahel Linux - Hardware 6 05-18-2008 06:08 PM
cpu or cpu's???just a bit of info!!! wraithe Linux - Newbie 9 01-04-2008 02:48 AM
64 bit CPU garbo73 Linux From Scratch 2 01-08-2006 02:47 PM


All times are GMT -5. The time now is 10:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration