# Count the number of “physical processor(s)” grep “physical id” /proc/cpuinfo | sort -u | wc -l # Count the number of “physical cores per CPU” grep “cpu cores” /proc/cpuinfo |sort -u |cut -d”:” -f2 # Count the number of “logical cores ” (including multi-threading cores) grep -c “processor” /proc/cpuinfoFiled under: 1Image may be NSFW.
Clik here to view.
Clik here to view.
