LinuxQuestions.org
Review your favorite Linux distribution.
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 05-30-2009, 09:55 AM   #1
kkoene
Member
 
Registered: May 2008
Location: Wisconsin
Distribution: Fedora, Ubuntu, RHEL, AIX6
Posts: 33

Rep: Reputation: 0
Interpreting lshw output and CPU count vs hyperthreading


I need to get a CPU count vs core count for licensing auditing. I am running lshw on Red Hat Enterprise Linux ES release 4 (Nahant Update 8)

Here is the output from running lshw -C cpu:

lshw -C cpu
*-cpu:0
description: CPU
product: Intel(R) Xeon(TM) MP CPU 2.80GHz
vendor: Intel Corp.
physical id: 4
bus info: cpu@0
version: 15.2.5
slot: CPU socket #0
size: 2133MHz
capacity: 2133MHz
width: 32 bits
capabilities: boot fpu fpu_exception wp vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht
configuration: id=4
*-logicalcpu:0
description: Logical CPU
physical id: 4.1
width: 32 bits
capabilities: logical
*-logicalcpu:1
description: Logical CPU
physical id: 4.2
width: 32 bits
capabilities: logical

My question is "are the logical cpu's a representation of hyperthreading or is this cpu a dual core processor?

Thanks for any help.
 
Old 05-31-2009, 06:59 PM   #2
ouain
LQ Newbie
 
Registered: May 2009
Distribution: debian
Posts: 12

Rep: Reputation: 0
alternate way to get the information

I don't know the exact answer to your question, but you will find it with cat /proc/cpuinfo. After this, you shouldn't have any doubt left.

An hyperthreaded cpu will show two entries with the same core id and the same physical id. A multicore cpu will show several entries with the same physical id, but different core ids (also it indicates in cpu cores that it has several cores). And of course, different cpus will have different physical ids.
 
  


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
Interpreting dmesg output pwabrahams Linux - Software 2 09-02-2008 02:27 PM
Interpreting output of df -h command kushalkoolwal Debian 1 06-30-2007 08:29 AM
Help interpreting Strace output rajesh_b_2k Linux - Kernel 0 12-18-2006 11:14 PM
Need help interpreting tcpdump output line wrw3 Linux - Networking 0 10-29-2005 08:47 PM
Interpreting the output of 'lspci' command. drminix Linux - Hardware 2 06-14-2005 04:20 AM


All times are GMT -5. The time now is 03:49 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration