cpu-info.sh: to detect physical CPU socket, cores and hyper-thread