centos7查看系统硬件信息

笔记-/proc/查看系统硬件信息

CPU信息:
1、利用文件进行查看
cat /proc/cpuinfo

physical id : 0 ----CPU颗数
processor : 0 ----CPU核数
cpu cores : 1 ----CPU核数
model name : Intel® Core™ i5-7300HQ CPU @ 2.50GHz —CPU品牌型号

	CPU颗数举例:
		physical id	: 0	第一段---------------
								相同字段合并	|	physical id	: 0	---第1颗CPU	————|  	
		physical id	: 0	第二段---------------                               		|
						                                                        |共计2颗CPU
		physical id	: 1	第三段|——————————————|              	                    |
								相同字段合并		physical id	: 1	---第2颗CPU	————| 
		physical id	: 1	第四段|——————————————|

	CPU核数举例:
		physical id	: 0		processor	: 0|
		physical id	: 0		processor	: 1|---1颗CPU有2核心
		cpu cores	: 2					   |

		physical id	: 1		processor	: 0|
		physical id	: 1		processor	: 1|---1颗CPU有2核心
		cpu cores	: 2					   |

	测试服务器配置为2*2
	[root@Qin ~]# cat /proc/cpuinfo 
	processor	: 0
	vendor_id	: GenuineIntel
	cpu family	: 6
	model		: 158
	model name	: Intel(R) Core(TM) i5-7300HQ CPU @ 2.50GHz
	stepping	: 9
	microcode	: 0xb4
	cpu MHz		: 2496.004
	cache size	: 6144 KB
	physical id	: 0
	siblings	: 2
	core id		: 0
	cpu cores	: 2
	apicid		: 0
	initial apicid	: 0
	fpu		: yes
	fpu_exception	: yes
	cpuid level	: 22
	wp		: yes
	flags		: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gbrdtscp lm 			constant_tsc arch_perfmon nopl xtopology tsc_reliable nonstop_tsc eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1sse4_2 x2apic movbe popcnt 			tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch fsgsbasetsc_adjust bmi1 avx2 smep bmi2 invpcid mpx rdseed adx 			smap clflushopt xsaveopt xsavec ibpb ibrs stibp arat spec_ctrlintel_stibp arch_capabilities
	bogomips	: 4992.00
	clflush size	: 64
	cache_alignment	: 64
	address sizes	: 43 bits physical, 48 bits virtual
	power management:
	---------------------------------
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值