查看CPU信息个数、核数、线程
[root@localhost yum.repos.d]# cat /proc/cpuinfo
processor : 7
vendor_id : AuthenticAMD
cpu family : 16
model : 4
model name : Quad-Core AMD Opteron(tm) Processor 8382
stepping : 2
cpu MHz : 2612.036
cache size : 512 KB
physical id : 0
siblings : 8
core id : 7
cpu cores : 8
apicid : 7
initial apicid : 7
fpu : yes
fpu_exception : yes
cpuid level : 5
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt rdtscp lm 3dnowext 3dnow constant_tsc rep_good tsc_reliable nonstop_tsc unfair_spinlock pni cx16 popcnt hypervisor lahf_lm extapic abm sse4a misalignsse 3dnowprefetch osvw
bogomips : 5224.07
TLB size : 1024 4K pages
clflush size : 64
cache_alignment : 64
address sizes : 40 bits physical, 48 bits virtual
power management:
processor:线程数,当前为8个。
physical id:物理CPU,当前只有0,所以只有一个物理CPU。
cpu cores:CPU核数,当前为8核。
故当前CPU信息为单CPU,每个CPU8核,总个8个线程。
查看内存信息
[root@localhost yum.repos.d]# cat /proc/meminfo
查看硬件SN与型号
[root@localhost yum.repos.d]# dmidecode -t 1
# dmidecode 2.12-dmifs
SMBIOS 2.7 present.
Handle 0x0001, DMI type 1, 27 bytes
System Information
Manufacturer: VMware, Inc.
Product Name: VMware Virtual Platform
Version: None
Serial Number: VMware-56 4d e2 97 37 c3 56 14-6b f6 82 77 09 9c 5f 7a
UUID: 97E24D56-C337-1456-6BF6-8277099C5F7A
Wake-up Type: Power Switch
SKU Number: Not Specified
Family: Not Specified
机器型号Product Name: VMware Virtual Platform
机器序列号Serial Number: VMware-56 4d e2 97 37 c3 56 14-6b f6 82 77 09 9c 5f 7a
查看网口型号
[root@localhost yum.repos.d]# dmesg |grep -i eth