Quantcast
Viewing latest article 9
Browse Latest Browse All 16

unix CPU and Core information

# 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.

Viewing latest article 9
Browse Latest Browse All 16

Trending Articles