We can check whether hyper threading is enabled or not without checking in bios by giving following command
# cat /proc/cpuinfo
If the number of siblings and number of cores you see is same then hyper threading is not enabled. If they are not same then its enabled.
If its enabled, then "siblings" give logical cores present and "cpu core" gives actual physical cores.
Total number of cpu's is equal to maximum number of cpu id available in the result + 1.
If you want to find out how many cores are present in a particular cpu and what there numbers are then you can give following command.
# cat /sys/devices/system/cpu/cpu2/topology/core_siblings_list
# cat /proc/cpuinfo
If the number of siblings and number of cores you see is same then hyper threading is not enabled. If they are not same then its enabled.
If its enabled, then "siblings" give logical cores present and "cpu core" gives actual physical cores.
Total number of cpu's is equal to maximum number of cpu id available in the result + 1.
If you want to find out how many cores are present in a particular cpu and what there numbers are then you can give following command.
# cat /sys/devices/system/cpu/cpu2/topology/core_siblings_list