LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
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.

Notices


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

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


Hi
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?



cheers
Anu.
 
Old 12-14-2005, 05:22 AM   #2
mokele
Member
 
Registered: Jan 2005
Location: Puerto Rico
Distribution: Slackware 13
Posts: 146

Rep: Reputation: 15
did you tried

# cat /proc/cpuinfo

Mine gives this output:

Code:
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

-West
 
Old 12-14-2005, 05:26 AM   #3
hw-tph
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").


Håkan
 
Old 12-15-2005, 03:56 AM   #4
anuradha06
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.

Cheers!
Anu
 
  


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

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:04 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
Open Source Consulting | Domain Registration