# total number of cores = number of physical CPUs x number of cores per physical CPU # Total Logical CPUs = number of physical CPUs x number of cores per physical CPU X number of hyper-threads # View the number of physical CPUs cat/proc/cpuinfo| grep "Physical ID" | Sort| uniq| wc-l# See the number of cores in each physical CPU (that is, the number of nuclei) cat/proc/cpuinfo| grep "CPU Cores" | uniq# View the number of logical CPUs cat/proc/cpuinfo| grep "Processor" | Wc-l
CPU Cores: Is the number of chipsets that can process data on a CPU.
For example, a single core is only one chip that processes data.
The core duo has two.
The current i5 760, for example, is a dual-core four-thread CPU.
And i5 2250 is the CPU of the quad core four thread.
The greater the number of cores the more powerful the data processing capability.
Linux view number of physical CPUs, number of cores, logical CPUs