LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
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 06-20-2011, 02:03 AM   #1
tank junior
Member
 
Registered: Apr 2010
Posts: 42

Rep: Reputation: 0
cpu info using cpuid and proc/cpuinfo are different


Hi,

The value of Family, Model and Stepping are different when using proc/cpuinfo and the code at
http://www.cplusplus.com/forum/lounge/16725/
using proc/cpuinfo:
Family 16, Model 4, Stepping 3
using code:
Family 15, Model 4, Stepping 3

Family is different.
My processor is (AMD Athlon(tm) 64 Processor 3200+).

I am also facing the same problem on windows box. There I am getting different values using WMI and __cpuid.

Using __cpuid : Model = 15 Family = 15 Stepping = 0
Using WMI : Family 15 Model 31 Stepping 0

Model is different.
On windows box I have AMD Athlon(tm) 64 Processor 3200+.

Any pointers?
I would prefer to use linked code (above) on both platform, provided the info is correct and using family, stepping and model value you can get the correct processor info from database.


Prashant

Last edited by tank junior; 06-20-2011 at 02:06 AM.
 
Old 06-20-2011, 03:29 AM   #2
ssrameez
Member
 
Registered: Oct 2006
Location: bangalore
Distribution: Fedora, Ubuntu, Debian, Redhat
Posts: 82

Rep: Reputation: 6
Hello Prashant

Try dmidecode. You need to run this command as root.

Check for the section "Processor Information".

--Rameez
 
Old 06-20-2011, 07:01 AM   #3
tank junior
Member
 
Registered: Apr 2010
Posts: 42

Original Poster
Rep: Reputation: 0
Hi ssrameez,

This post is about why I am getting different set of information for the same processor.
 
  


Reply

Tags
processor


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
/proc/cpuinfo explanations of cpu capabilities? Antryg Linux - Hardware 2 03-11-2009 12:04 AM
CPU architecture explanation with /proc/cpuinfo tanveer Linux - General 3 12-16-2008 08:18 AM
Missing CPU in /proc/cpuinfo xerophyte Linux - Hardware 0 03-03-2006 10:20 AM
4 CPU's shown in top and /proc/cpuinfo Kristijan Linux - General 6 01-25-2005 08:09 PM
CPU cache size /proc/cpuinfo is wrong? omg-ffs Linux - Hardware 9 10-13-2004 11:46 AM


All times are GMT -5. The time now is 05:30 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration