当前位置:网站首页>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
边栏推荐
- SEO解决方案制定,如何脱离杯弓蛇影?
- 听说你一夜之间变了户籍,依萍如洗的打工人该如何自救?
- The selection of wire displacement encoder needs the guidance of precise electronics
- Method of conversion between JS character and ASCII code
- H264Nalu头部解析
- Using GaN based oversampling technique to improve the accuracy of model for mortality prediction of unbalanced covid-19
- Detailed explanation of ipfsapp development method of biaofen IPFs mining machine app software development software
- Source code analysis of serilog -- implementation of sink
- 同事笔记-小程序入坑点
- Exhibition cloud technology interpretation | in the face of emergencies, how does app do a good job in crash analysis and performance monitoring?
猜你喜欢
Flink的安装和测试
Toolkit Pro助力界面开发:缩短项目开发周期,快速实现具有现代功能区样式的GUI
高质量的缺陷分析:让自己少写 bug
Data consistency of cache
Program simulation perceptron algorithm (gradient descent method sklearn.linear_ Perception method in model)
Openyurt in depth interpretation: how to build kubernetes native cloud edge efficient collaborative network?
Application of EMQ X in the Internet of things platform of China Construction Bank
Using GaN based oversampling technique to improve the accuracy of model for mortality prediction of unbalanced covid-19
5分钟GET我使用Github 5 年总结的这些骚操作!
Mit6.824 distributed system course translation & learning notes (3) GFS
随机推荐
CAD2016下载AutoCAD2016下载安装详细教程CAD下载
寻找性能更优秀的不可变小字典
Kubernetes-17:Kubernets包管理工具—>Helm介绍与使用
干货推荐:关于网络安全技术的专业术语,你知道多少?
jackson、fastjson、kryo、protostuff等序列化工具性能对比
揭秘在召唤师峡谷中移动路径选择逻辑?
I do digital transformation in traditional industries (1)
最新版PyCharm 2020.3 :可实现结对编程,智能文本校对等|附下载体验
明年起旧版本安卓设备将无法浏览大约30%的网页
低功耗蓝牙单芯片为物联网助力
js字符与ASCII码互转的方法
Using art template to obtain weather forecast information
Analysis of h264nalu head
深入分析商淘多用户商城系统如何从搜索着手打造盈利点
史上最惨黑客:偷走10亿美元比特币7年未花,最终被司法部全数缴获
Super discount, cloud server 88 yuan seconds
Solution to the failure of closing windows in Chrome browser JS
Autocad2020 full version installation text course, registration activation cracking method
The worst hacker in history: stealing $1 billion of bitcoin without spending it for seven years, and finally being seized by the Department of justice
shell脚本快速入门----shell基本语法总结