linux cpu信息更改,Linux下cpu信息查看

[root@master ~]# cat /proc/cpuinfo |grep "physical id"|sort |uniq|wc -l

1

[root@master ~]# cat /proc/cpuinfo |grep "processor"|wc -l

4

[root@master ~]# cat /proc/cpuinfo |grep "cores"|uniq

cpu cores: 4

[root@master ~]# cat /proc/cpuinfo |grep MHz|uniq

cpu MHz: 2494.222

[root@master ~]# cat /proc/cpuinfo | grep name | cut -f2 -d: | uniq -c

4 Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz

[root@master ~]# getconf LONG_BIT

64

[root@master ~]# cat /proc/cpuinfo | grep physical | uniq -c

1 physical id: 0

1 address sizes: 46 bits physical, 48 bits virtual

1 physical id: 0

1 address sizes: 46 bits physical, 48 bits virtual

1 physical id: 0

1 address sizes: 46 bits physical, 48 bits virtual

1 physical id: 0

1 address sizes: 46 bits physical, 48 bits virtual

[root@master ~]# cat /proc/cpuinfo

processor: 0

vendor_id: GenuineIntel

cpu family: 6

model: 63

model name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz

stepping: 2

microcode: 0x1

cpu MHz: 2494.222

cache size: 30720 KB

physical id: 0

siblings: 4

core id: 0

cpu cores: 4

apicid: 0

initial 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 pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl 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 xsaveopt

bogomips: 4988.44

clflush size: 64

cache_alignment: 64

address sizes: 46 bits physical, 48 bits virtual

power management:

processor: 1

vendor_id: GenuineIntel

cpu family: 6

model: 63

model name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz

stepping: 2

microcode: 0x1

cpu MHz: 2494.222

cache size: 30720 KB

physical id: 0

siblings: 4

core id: 1

cpu cores: 4

apicid: 1

initial apicid: 1

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 pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl 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 xsaveopt

bogomips: 4988.44

clflush size: 64

cache_alignment: 64

address sizes: 46 bits physical, 48 bits virtual

power management:

processor: 2

vendor_id: GenuineIntel

cpu family: 6

model: 63

model name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz

stepping: 2

microcode: 0x1

cpu MHz: 2494.222

cache size: 30720 KB

physical id: 0

siblings: 4

core id: 2

cpu cores: 4

apicid: 2

initial apicid: 2

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 pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl 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 xsaveopt

bogomips: 4988.44

clflush size: 64

cache_alignment: 64

address sizes: 46 bits physical, 48 bits virtual

power management:

processor: 3

vendor_id: GenuineIntel

cpu family: 6

model: 63

model name: Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz

stepping: 2

microcode: 0x1

cpu MHz: 2494.222

cache size: 30720 KB

physical id: 0

siblings: 4

core id: 3

cpu cores: 4

apicid: 3

initial apicid: 3

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 pse36 clflush mmx fxsr sse sse2 ss ht syscall nx pdpe1gb rdtscp lm constant_tsc rep_good nopl 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 xsaveopt

bogomips: 4988.44

clflush size: 64

cache_alignment: 64

address sizes: 46 bits physical, 48 bits virtual

power management:

[root@master ~]# uname -a

Linux master 3.10.0-123.9.3.el7.x86_64 #1 SMP Thu Nov 6 15:06:03 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值