详解Linux 下 CPU、内存、磁盘信息

近期在学习hadoop时涉及到了Linux的一些参数配置及检查;故而记录一下,希望可以帮助到同行的小伙伴;如有纰漏请批评指正。
1、查看linux所在主机CPU详细信息

[root@centos7 ~]# cat /proc/cpuinfo 
processor   : 0       #当前逻辑CPU的唯一标识,从0开始计算;为逻辑CPU一直编号
vendor_id   : GenuineIntel      #CPU制造商 
cpu family  : 6        #CPU产品系列代号
model       : 79    #CPU属于其系列中的哪一代的代号
model name  : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz   #CPU属于的名字及其编号、标称主频
stepping    : 1       #CPU属于制作更新版本
microcode   : 0xb00001b
cpu MHz     : 2199.998     #CPU的实际使用主频
cache size  : 25600 KB     #CPU二级缓存大小
physical id : 0        #物理cpu的唯一标识id,从0开始编号
siblings    : 6       #一个物理CPU中的逻辑核数
core id     : 0        #当前物理核在其所处CPU中的编号,这个编号不一定连续
cpu cores   : 6      #当前物理cpu的总的内核数(6核)
apicid      : 0    #用来区分不同逻辑核的编号,系统中每个逻辑核的此编号必然不同,此编号不一定连续
initial apicid  : 0
fpu     : yes      #是否具有浮点运算单元(Floating Point Unit)
fpu_exception   : yes   #是否支持浮点计算异常
cpuid level : 13    #执行cpuid指令前,eax寄存器中的值,根据不同的值cpuid指令会返回不同的内容
wp      : yes   #表明当前CPU是否在内核态支持对用户空间的写保护(Write Protection)
flags       : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts nopl xtopology tsc_reliable nonstop_tsc aperfmperf eagerfpu pni pclmulqdq ssse3 fma cx16 pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand hypervisor lahf_lm abm 3dnowprefetch ida arat epb pln pts dtherm fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 invpcid rtm rdseed adx smap xsaveopt              #当前CPU支持的功能
bogomips    : 4399.99        #在系统内核启动时粗略测算的CPU速度(Million Instructions Per Second)
clflush size    : 64      #每次刷新缓存的大小单位
cache_alignment : 64       #缓存地址对齐单位
address sizes   : 43 bits physical, 48 bits virtual       #可访问地址空间位数
power management:                #对能源管理的支持

processor   : 1
vendor_id   : GenuineIntel
cpu family  : 6
model       : 79
model name  : Intel(R) Xeon(R) CPU E5-2630 v4 @ 2.20GHz
stepping    : 1
microcode   : 0xb00001b
cpu MHz     : 2199.998
cache size  : 25600 KB
physical id : 0
siblings    : 6
core id     : 1
cpu cores   : 6
apicid      : 1
initial apicid  : 1
fpu     : yes
fpu_exception   : yes
cpuid leve
  • 0
    点赞
  • 3
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值