Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • 1
    I have HT turned off on an Intel based HT capable system, yet Thread Count returned with dmidecode is twice the Core Count. Looks like it shows if the CPU is HT capable, not if HT is enabled or not. Commented Dec 16, 2015 at 13:58
  • @Dmitri Weird. I just ran this on an HT-capable server (has two Intel Xeon E5-2670 v3's) with hyperthreading disabled, and the core and thread count were the same. I'm not sure what would cause the difference in behavior. I'll have to look further into it. Commented May 26, 2016 at 17:10
  • I just ran this on a Dell R610 with two X5680 processors, Hyperthreading off, and the Thread count is double the core count. stephaniea's answer (lscpu) seems to work. I have doublechecked the iDRAC (Dell's lights-out, out of band processor [for those not in the know]) and it says that Hyperthreading is off. So I don't think dmidecode is reliable. Commented Dec 1, 2016 at 23:06
  • I checked a Dell 1950 (x5460 CPUs, no hyperthreading possible) and lscpu was correct. Also a Dell R620 (E5-2690 [v1, I believe]) and it was correct. Commented Dec 1, 2016 at 23:13
  • But @Cedric Martin 's comment in one of the answers above shows that lscpu will not always be reliable. I like scottbb's answer. Commented Oct 26, 2017 at 14:34