I'm running the following command:
cat /proc/cpuinfo | /bin/egrep 'processor|model name|cache size|core|sibling|physical'
Which gives this output:
processor : 0
model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 0
cpu cores : 4
address sizes : 40 bits physical, 48 bits virtual
processor : 1
model name : Intel(R) Xeon(R) CPU E5520 @ 2.27GHz
cache size : 8192 KB
physical id : 0
siblings : 8
core id : 1
cpu cores : 4
address sizes : 40 bits physical, 48 bits virtual
So I can tell Hyperthreading is ON, given the ht
flag in the full cpuinfo output, and also because siblings are twice the cpu cores.
Does this mean I have one physical quad core processor with HT enabled and that's it?
It's not clear to me why there are only 2 processor records listed (core ids 0 and 1). Shouldn't there be 2 other records for cores 2 and 3?
*Note: Running lscpu gives me an error "failed to determine number of CPUs"
nproc --all
what is the output – Sep 24 '18 at 19:25