当前位置:网站首页>CentOS查看CPU核心数及cpuinfo解析
CentOS查看CPU核心数及cpuinfo解析
2020-11-09 16:11:00 【AT杨】
物理 CPU 核数
$ cat /proc/cpuinfo | grep "cpu cores"| uniq
cpu cores : 4
$ cat /proc/cpuinfo | grep "cpu cores"| wc -l
4
逻辑 CPU 核数
$ cat /proc/cpuinfo| grep "processor"| uniq
processor : 0
processor : 1
processor : 2
processor : 3
processor : 4
processor : 5
processor : 6
processor : 7
$ cat /proc/cpuinfo| grep "processor"| wc -l
8
/proc/cpuinfo 解析
$ cat /proc/cpuinfo
输出结果
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 85
model name : Intel(R) Xeon(R) Platinum 8124M CPU @ 3.00GHz
stepping : 4
microcode : 0x2006906
cpu MHz : 3398.864
cache size : 25344 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 1
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 xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq 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 invpcid_single pti fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx avx512f avx512dq rdseed adx smap clflushopt clwb avx512cd avx512bw avx512vl xsaveopt xsavec xgetbv1 xsaves ida arat pku ospke
bugs : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs taa itlb_multihit
bogomips : 6000.00
clflush size : 64
cache_alignment : 64
address sizes : 46 bits physical, 48 bits virtual
power management:
- processor - 处理器的一个标识号。比如机器为一核,则为0,为多核,则为 0,1,2...
- cpu family - 标识处理器的类型。对于基于Intel的系统,将数字放在“86”前面以确定该值。这对于识别旧系统(例如586、486或386)特别有用。由于为这些特定体系结构中的每种体系结构编译了一些RPM软件包,因此该值还可以帮助用户确定要安装的软件包
- model name - 显示处理器的通用名称,包括其项目名称
- cpu MHz - 以兆赫为单位显示处理器的精确速度,精确到千分之一位
- cache size - 2级内存缓存容量
- siblings - 超线程机器在同一物理CPU上的同级CPU的数量
- flags - 定义有关处理器的多种不同质量,例如浮点单元(FPU)的存在以及处理MMX指令的能力
版权声明
本文为[AT杨]所创,转载请带上原文链接,感谢
https://my.oschina.net/yimingkeji/blog/4710078
边栏推荐
- 5 minutes get I use GitHub's 5-year summary of these operations!
- 最新版PyCharm 2020.3 :可实现结对编程,智能文本校对等|附下载体验
- jackson、fastjson、kryo、protostuff等序列化工具性能对比
- Using art template to obtain weather forecast information
- How to download and install autocad2020 in Chinese
- Detailed explanation of ipfsapp development method of biaofen IPFs mining machine app software development software
- Why does it take more and more time to develop a software?
- Ultra simple integration of Huawei system integrity testing, complete equipment security protection
- Function calculation advanced IP query tool development
- Booker · apachecn programming / back end / big data / AI learning resources 2020.11
猜你喜欢

Express yourself with wechat expression translation, programmer's little romance, get up quickly!

Why is your money transferred? This article tells you the answer

Simple use of AE (after effects)

H264Nalu头部解析

Gesture switch background, let live with goods more immersive

树莓派内网穿透建站与维护,使用内网穿透无需服务器

帮助企业摆脱困境,名企归乡工程师:能成功全靠有它!

MES系统在行业应用里区别于传统式管理

超大折扣力度,云服务器 88 元秒杀

Mobile security reinforcement helps app achieve comprehensive and effective security protection
随机推荐
Full stack technology experience tells you: how much does it cost to develop a mall small program?
乘风破浪的技术大咖再次集结 | 腾讯云TVP持续航行中
程序模拟感知机算法(梯度下降法、sklearn.linear_model中perception方法)
Using art template to obtain weather forecast information
树莓派内网穿透建站与维护,使用内网穿透无需服务器
Toolkit Pro helps interface development: shorten the project development cycle and quickly realize GUI with modern functional area style
Data consistency of cache
In depth analysis of the multi-user shopping mall system from search to create a profit point
Native地图与Web融合技术的应用与实践
.NET报表生成器Stimulsoft Reports.Net 发布最新版v2020.5!
Function calculation advanced IP query tool development
干货推荐:关于网络安全技术的专业术语,你知道多少?
Simple use of AE (after effects)
Gesture switch background, let live with goods more immersive
高德全链路压测——语料智能化演进之路
帮助企业摆脱困境,名企归乡工程师:能成功全靠有它!
深入探索 Android Gradle 插件的缓存配置
Full link stress testing of moral integrity -- the evolution of corpus intelligence
自己实现printf函数
Why is your money transferred? This article tells you the answer