Cat/proc/cpuinfo: you can see the actual number of cpu cores in detail. it should be the cpucores parameter value, the number of physical CPUs, and the number of non-repeated physicalids. There are several [user @ localhost ~] # Cat/proc/cpuinfoprocessor & nb
Cat/proc/cpuinfo to view detailed cpu information
The actual number of cores should be the value of cpu cores, the number of physical CPUs. There are several physical IDs that can be used to count non-repeated
[User @ localhost ~] # Cat/proc/cpuinfo
Processor: 0
Vendor_id: GenuineIntel
Cpu family: 6
Model: 45
Model name: Intel (R) Xeon (R) CPU E5-2609 0 @ 2.40 GHz
Stepping: 7
Cpu MHz: 2400.111
Cache size: 10240 KB
Physical id: 0
Siblings: 4
Core id: 0
Cpu cores: 4
Apicid: 0
Fpu: yes
Fpu_exception: yes
Cpuid level: 13
Wp: yes
Flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat limit 36 clflush dts acpi mmx fxsr sse sse2 ss ht tm syscall nx limit rdtscp lm limit arat pni monitor vmx smx est tm2 ssse3 cx16 xtpr sse4_1 sse4_2 popcnt lahf_lm
Bogomips: 4800.22
Clflush size: 64
Cache_alignment: 64
Address sizes: 46 bits physical, 48 bits virtual
Power management: [8]