LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   How can I find if my processor type (x86) from the command line (https://www.linuxquestions.org/questions/linux-software-2/how-can-i-find-if-my-processor-type-x86-from-the-command-line-392675/)

anuradha06 12-14-2005 04:24 AM

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:study: for it but am still clueless:scratch: . Can anyone please help me out with it?



cheers
Anu.:newbie:

mokele 12-14-2005 05:22 AM

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

hw-tph 12-14-2005 05:26 AM

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

anuradha06 12-15-2005 03:56 AM

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


All times are GMT -5. The time now is 08:35 PM.