centos7查看当前cpu运行模式_[centos7]查看系统版本、CPU的方法

# uname -a

Linux localhost 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux

# cat /etc/os-release

NAME="CentOS Linux"

VERSION="7 (Core)"

ID="centos"

ID_LIKE="rhel fedora"

VERSION_ID="7"

PRETTY_NAME="CentOS Linux 7 (Core)"

ANSI_COLOR="0;31"

CPE_NAME="cpe:/o:centos:centos:7"

HOME_URL="https://www.centos.org/"

BUG_REPORT_URL="https://bugs.centos.org/"

CENTOS_MANTISBT_PROJECT="CentOS-7"

CENTOS_MANTISBT_PROJECT_VERSION="7"

REDHAT_SUPPORT_PRODUCT="centos"

REDHAT_SUPPORT_PRODUCT_VERSION="7"

# cat /etc/redhat-release

CentOS Linux release 7.2.1511 (Core)

# cat /proc/version

Linux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org)

(gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015

#yum install redhat-lsb

# lsb_release -a

LSB Version:    :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:

desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:

printing-4.1-amd64:printing-4.1-noarch

Distributor ID:    CentOS

Description:    CentOS Linux release 7.2.1511 (Core)

Release:    7.2.1511

Codename:    Core

# cat /proc/cpuinfo

processor    : 0 //逻辑cpu的核的序号,ID

vendor_id    : GenuineIntel

cpu family    : 6

model        : 61

model name    : Intel(R) Core(TM) i7-5557U CPU @ 3.10GHz //cpu型号

stepping    : 4

cpu MHz        : 3099.998

cache size    : 4096 KB

physical id    : 0 //物理CPU个数

siblings    : 1

core id        : 0

cpu cores    : 1 //CPU的核数,几核

apicid        : 0

initial apicid    : 0

fpu        : yes

fpu_exception    : yes

cpuid level    : 20

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 syscall nx rdtscp lm

constant_tsc rep_good nopl xtopology nonstop_tsc pni pclmulqdq monitor

ssse3 cx16 sse4_1 sse4_2 movbe popcnt aes xsave avx rdrand hypervisor

lahf_lm abm 3dnowprefetch rdseed

bogomips    : 6199.99

clflush size    : 64

cache_alignment    : 64

address sizes    : 39 bits physical, 48 bits virtual

power management:

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

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

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

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值