I can cat /proc/cpuinfo and see that my system has
and I can google Core i5-6200U to find out that this is a dual core CPU with hyperthreading so it will appear as 4 cores (as shown by /proc/cpuinfo listing processor number 3 (the first being processor 0).
But is there any convenient way (without looking up the CPU online) to tell for sure if it's two cores hyperthreaded ot 4 cores single threaded? I suppose one of the many cpu flags listed probably has to do with hyperthreading, but I was hoping for something that just says "<X> number of real cores and <Y> number of threads".
It's just a curiosity for me as I can't think of a circumstance where it would matter much. I deal with a bunch of computers of various ages and it would be nice to know, if only for conversational purposes.
Code:
...
processor : 3
vendor_id : GenuineIntel
cpu family : 6
model : 78
model name : Intel(R) Core(TM) i5-6200U CPU @ 2.30GHz
...
and I can google Core i5-6200U to find out that this is a dual core CPU with hyperthreading so it will appear as 4 cores (as shown by /proc/cpuinfo listing processor number 3 (the first being processor 0).
But is there any convenient way (without looking up the CPU online) to tell for sure if it's two cores hyperthreaded ot 4 cores single threaded? I suppose one of the many cpu flags listed probably has to do with hyperthreading, but I was hoping for something that just says "<X> number of real cores and <Y> number of threads".
It's just a curiosity for me as I can't think of a circumstance where it would matter much. I deal with a bunch of computers of various ages and it would be nice to know, if only for conversational purposes.

