LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices

Reply
 
Search this Thread
Old 03-25-2009, 12:48 AM   #1
makam.sreekanth
LQ Newbie
 
Registered: Jun 2008
Posts: 15

Rep: Reputation: 0
How to get the codename for the processor in Linux?


Hi Folks,

When I want find the CPU config i get all information from /proc/cpuinfo. Only one thing I am missing is finding the codename of the processor. From windows i use a tool which gives me this. Example codenames are Prestonia, Foster etc etc.
 
Old 03-25-2009, 04:41 AM   #2
MoonMind
Member
 
Registered: May 2005
Location: Switzerland
Distribution: Ubuntu
Posts: 448

Rep: Reputation: 38
I don't know which distro you're using, but Debian (or derivatives) offer lshw and hwinfo, available in the repositories. Extremely informative (using those tools with the -short/--short option is more than enough in most cases).

If you want to use a live CD: grml comes with a full set of the tools mentionned (and more).

M.
 
Old 03-25-2009, 08:52 AM   #3
farslayer
Guru
 
Registered: Oct 2005
Location: Willoughby, Ohio
Distribution: linuxdebian
Posts: 7,228
Blog Entries: 5

Rep: Reputation: 189Reputation: 189
cpuid gives a good deal more info about the CPU itself than does lshw (one of my favorite tools). but it still doesn't appear to provide the codenames.

Code:
it-lenny:~# cpuid


Vendor ID: "GenuineIntel"; CPUID level 5

Intel-specific functions:
Version 00000f47:
Type 0 - Original OEM
Family 15 - Pentium 4
Extended family 0
Model 4 - 
Stepping 7
Reserved 0

Extended brand string: "              Intel(R) Pentium(R) D CPU 2.80GHz"
CLFLUSH instruction cache line size: 8
Initial APIC ID: 1
Hyper threading siblings: 2

Feature flags bfebfbff:
FPU    Floating Point Unit
VME    Virtual 8086 Mode Enhancements
DE     Debugging Extensions
PSE    Page Size Extensions
TSC    Time Stamp Counter
MSR    Model Specific Registers
PAE    Physical Address Extension
MCE    Machine Check Exception
CX8    COMPXCHG8B Instruction
APIC   On-chip Advanced Programmable Interrupt Controller present and enabled
SEP    Fast System Call
MTRR   Memory Type Range Registers
PGE    PTE Global Flag
MCA    Machine Check Architecture
CMOV   Conditional Move and Compare Instructions
FGPAT  Page Attribute Table
PSE-36 36-bit Page Size Extension
CLFSH  CFLUSH instruction
DS     Debug store
ACPI   Thermal Monitor and Clock Ctrl
MMX    MMX instruction set
FXSR   Fast FP/MMX Streaming SIMD Extensions save/restore
SSE    Streaming SIMD Extensions instruction set
SSE2   SSE2 extensions
SS     Self Snoop
HT     Hyper Threading
TM     Thermal monitor
31     reserved

TLB and cache info:
51: Instruction TLB: 4KB and 2MB or 4MB pages, 128 entries
5b: Data TLB: 4KB and 4MB pages, 64 entries
60: unknown TLB/cache descriptor
40: No 2nd-level cache, or if 2nd-level cache exists, no 3rd-level cache
70: Trace cache: 12K-micro-op, 4-way set assoc
7c: 2nd-level cache: 1MB, 8-way set assoc, sectored, 64 byte line size
Processor serial: 0000-0000-0000-0000-0000-0000
Not sure if the version might be the codename.. since mine doesn't list one..
Code:
it-lenny:~# dmidecode -s processor-version
Not Specified
 
  


Reply


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
Setting Static ip in debian version 4.0 (codename etch) problem neilcpp Debian 4 09-16-2008 02:17 PM
codename:linux documentary djabbot General 3 03-21-2005 06:00 PM
Installing Linux on a dual processor machine (only one processor detected) rocordial Linux - Hardware 1 11-27-2004 02:16 AM
4 processor listings in cpuinfo on dual processor system. atticboy1 Linux - Hardware 2 02-08-2004 06:35 PM
xinetd 100% utilization on one processor on a two processor system red hat 9 garnold Linux - General 0 02-02-2004 01:47 PM


All times are GMT -5. The time now is 03:25 AM.

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