如何查看linux的cpu信息


本文摘自PHP中文网,作者(*-*)浩,侵删。

使用linux系统时想查看cpu信息,该怎么操作呢?下面就来告诉大家linux下如何查看cpu信息。

在Linux服务器上查看CPU详细信息: (推荐学习:linux教程)

1

cat /proc/cpuinfo

输出结果:

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

processor       : 0

vendor_id       : GenuineIntel

cpu family      : 6

model           : 62

model name      : Intel(R) Xeon(R) CPU E5-2650 v2 @ 2.60GHz

stepping        : 4

microcode       : 0x428

cpu MHz         : 1200.062

cache size      : 20480 KB

physical id     : 0

siblings        : 16

core id         : 0

cpu cores       : 8

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 dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm ida arat epb pln pts dtherm tpr_shadow vnmi flexpriority ept vpid fsgsbase smep erms xsaveopt

bogomips        : 5200.34

clflush size    : 64

cache_alignment : 64

address sizes   : 46 bits physical, 48 bits virtual

power management:

#cat /proc/cpuinfo | grep "physical id" | uniq | wc -l查看机器一共几个cpu

1

2

3

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

1  #这个是一个cpu

[root@liuli ~]#

以上就是如何查看linux的cpu信息的详细内容,更多文章请关注木庄网络博客

相关阅读 >>

Linux bash是什么?

Linux远程服务器无法ssh登录的原因及解决方法

Linux 下你所不知道的 7 个 ssh 命令用法

Linux系统网卡怎么设置?

关于Linux下如何查看nginx的并发连接数和连接状态的详细介绍

Linux操作系统好学吗

Linux中磁盘空间不足的解决方法

Linux下怎么运行java?

如何理解独立云磁盘和可用区faq的区别

Linux系统怎么ping网络

更多相关阅读请进入《Linux》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...