cat /proc/cpuinfo
grep -c processor /proc/cpuinfo
grep "physical id" /proc/cpuinfo | sort -u | wc -l
grep "cpu cores" /proc/cpuinfo | tail -1
dmidecode -t processor | egrep 'Core Count|Thread Count' | head -2