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

使用linux系统时想查看cpu信息,该怎么操作呢?下面就来告诉大家linux下如何查看cpu信息。
在Linux服务器上查看CPU详细信息: (推荐学习:linux教程)
输出结果:
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入门视频资料分享
Linux终端类型的详解
怎么在Linux系统下安装redis
如何修改指定安全组的属性包括修改安全组名称和描述
如何将windows文件传到Linux
Linux修改hosts文件无效怎么办
Linux由于依赖库版本问题导致无法安装
ecs云服务器如何禁用公网ip
自学Linux要多长时间
Linux查看日志的三种命令是什么
更多相关阅读请进入《Linux》频道 >>
转载请注明出处:木庄网络博客 » 如何查看linux的cpu信息