Share your knowledge at the LQ Wiki.
Go Back > Forums > Linux Forums > Linux - Software
User Name
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.


  Search this Thread
Old 12-14-2005, 05:24 AM   #1
LQ Newbie
Registered: Dec 2005
Posts: 11

Rep: Reputation: 0
How can I find if my processor type (x86) from the command line

Can anyone tell me a command that would tell me what type of processor a machine would be using (as in an x86 or SPARC). I have already tried /proc/cpuinfo for it but am still clueless . Can anyone please help me out with it?

Old 12-14-2005, 06:22 AM   #2
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
did you tried

# cat /proc/cpuinfo

Mine gives this output:

bash-3.00$ sudo cat /proc/cpuinfo
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 2
model name      : Intel(R) Pentium(R) 4 CPU 1.80GHz
stepping        : 4
cpu MHz         : 1799.451
cache size      : 512 KB
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        : 3604.52
I think that should be enough info to decide if you
have an x86

Old 12-14-2005, 06:26 AM   #3
Senior Member
Registered: Sep 2003
Location: Sweden
Distribution: Debian
Posts: 3,032

Rep: Reputation: 58
uname -m will tell you the machine type and uname -i will tell you the actual hardware (often returns the vendor, i.e. "AuthenticAMD").

Old 12-15-2005, 04:56 AM   #4
LQ Newbie
Registered: Dec 2005
Posts: 11

Original Poster
Rep: Reputation: 0
thank you for your reply.

in /proc/cpuinfo

here can you please tell me wat the following things convey

cpu family : 15
model : 2
stepping : 9

when i tried uname -a i get the following

Linux hydhtc47490 2.6.14-1.1637_FC4 #1 Wed Nov 9 18:19:37 EST 2005 i686 i686 i386 GNU/Linux

from info uname i got to know that

machine is i686
processor is i686
hardware-platform is i386

my doubt: how come processor and hardware-platform are different?

Can you please clear it out for me or suggest any sites where i could find related information.



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
how to find processor type on linux on zos ? gonwg Linux - Newbie 3 09-11-2004 05:47 PM
command line for determining memory type jdier Linux - Newbie 1 06-10-2004 10:00 AM
Line Kernal - Processor Type rigasminho Programming 6 03-02-2004 09:09 AM
Processor and RAM command line question yxonks Solaris / OpenSolaris 7 11-13-2003 11:22 AM
file type from command line?? wr3ck3d Linux - General 4 03-12-2003 02:48 PM > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:17 AM.

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