LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to get Vendor and model name of cpu in different versions of LINUX? (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-get-vendor-and-model-name-of-cpu-in-different-versions-of-linux-361638/)

vidya_kadlag 09-09-2005 01:12 AM

How to get Vendor and model name of cpu in different versions of LINUX?
 
vendor_id and model name in /proc/cpuinfo shows different outputs on different versions.
on RHEL 3.0
vendor_id : GenuineIntel
model name : Intel(R) Pentium(R) 4 CPU 2.40GHz

on redhat72
vendor_id : GenuineIntel
model name : Pentium III (Katmai)

so it should not show model name as Intel(R) in RHEL3.0.
It should just show "Pentium(R) 4 CPU 2.40GHz".
is there any other method to get vendor_id and model name of cpu that woulg give a consistent format?
thanks
Vidya

david_ross 09-09-2005 02:46 PM

Welcome to LQ.

That information will change as the kernels change (there was no such thing as a P4 when RH7 was released). You may get more useful information to compare using the output from dmesg:
dmesg | grep -i cpu

Bruce Hill 09-24-2005 11:29 AM

Re: How to get Vendor and model name of cpu in different versions of LINUX?
 
Quote:

Originally posted by vidya_kadlag
it should not show model name as Intel(R) in RHEL3.0.
It should just show "Pentium(R) 4 CPU 2.40GHz".
is there any other method to get vendor_id and model name of cpu that woulg give a consistent format?

Why not?

This is from a modern distro (Slackware 10.1+) with the latest stable kernel (2.6.13.2):
Code:

bruce@titus:~/iso$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family  : 15
model  : 2
model name  : Intel(R) Celeron(R) CPU 2.80GHz



All times are GMT -5. The time now is 12:37 PM.