忘记了服务器用得是什么CPU,于是用x86info检查一下:

# x86info -c

x86info v1.20.  Dave Jones 2001-2006
Feedback to <>.

Found 8 CPUs

--------------------------------------------------------------------------
CPU #1
Family: 6 Model: 10 Stepping: 5 Type: 0 Brand: 0
CPU Model: Pentium II (Deschutes) Original OEM
Feature flags:
 fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflsh ds acpi mmx fxsr sse sse2 ss ht tm pbe sse3 monitor ds-cpl vmx est tm2 ssse3 cx16 xTPR dca
Extended feature flags:
 SYSCALL xd em64t lahf_lm
Cache info
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
TLB info
 Instruction TLB: 4K pages, 4-way associative, 128 entries.
 Data TLB: 4KB pages, 4-way associative, 64 entries
 64 byte prefetching.
Found unknown cache descriptors: 09 21 55 5a ca e3
Processor serial: 0001-06A5-0000-0000-0000-0000
The physical package supports 16 logical processors

--------------------------------------------------------------------------

显示的却是Pentium II的CPU,立刻雷到,看看已经是2006年版本的x86info,于是果断升级,新版本在这个网站找:

步骤如下:

wget

yum -y install pciutils-devel.x86_64

tar xvfz x86info-1.30.tgz

cd x86info-1.30

make

cp -rf x86info /usr/sbin/

 

使用新版本x86info检测如下:

 x86info -c

x86info v1.30.  Dave Jones 2001-2011
Feedback to <>.

Found 8 identical CPUs

Extended Family: 0 Extended Model: 1 Family: 6 Model: 26 Stepping: 5
Type: 0 (Original OEM)
CPU Model (x86info's best guess): Core i7 (Nehalem) [bloomfield/gainestown]
Processor name string (BIOS programmed): Intel(R) Xeon(R) CPU           E5504  @ 2.00GHz

Cache info

 L1 Instruction cache: 32KB, 4-way associative. 64 byte line size.
 L1 Data cache: 32KB, 8-way associative. 64 byte line size.
 L2 (MLC): 256KB, 8-way associative. 64 byte line size.
TLB info
 Instruction TLB: 2MB or 4MB pages, fully associative, 7 entries
 Instruction TLB: 4K pages, 4-way associative, 128 entries.
 Data TLB: 4KB or 4MB pages, fully associative, 32 entries.
 Data TLB: 4KB pages, 4-way associative, 64 entries
 Data TLB: 4K pages, 4-way associative, 512 entries.
 64 byte prefetching.
Found unknown cache descriptors: e3
Total processor threads: 8
This system has 2 dual-core processors with hyper-threading (2 threads per core) running at an estimated 2.00GHz

 

能正确认出CPU类型了,收工。