REDHAT CPU Information
11/06/2013 12:38
#IN REDHAT 5
# 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/cpuinfo
#IN REDHAT 6
# lscpu
———
Back