Is there a way to know from the command line of a standard LINUX distro (or by installing some tool), whether hyperthreading is enabled in the BIOS of a given machine ?
Asked
Active
Viewed 3,452 times
1 Answers
5
util-linux
's lscpu
shows whether hyper-threading is enabled (or anything similar):
$ lscpu
[...]
Thread(s) per core: 2
[...]
2 or more in the "Thread(s) per core" line means hyper-threading is enabled.
(You'll also see ht
in the flags in /proc/cpuinfo
, but that only means that the processor supports hyper-threading.)

Stephen Kitt
- 434,908