当前位置:网站首页>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
边栏推荐
- Equivalent judgment between floating point numbers
- Data consistency of cache
- Implement printf function by yourself
- Restart the heap_ uaf_ hacknote
- 会展云技术解读 | 面对突发事故,APP 如何做好崩溃分析与性能监控?
- 函数计算进阶-IP查询工具开发
- Chrome浏览器 js 关闭窗口失效解决方法
- Explain three different authentication protocols in detail
- Do you think it's easy to learn programming? In fact, it's hard! Do you think it's hard to learn programming? In fact, it's very simple!
- SEO解决方案制定,如何脱离杯弓蛇影?
猜你喜欢
Super discount, cloud server 88 yuan seconds
知识图谱描边1.1——从NER上手
5分钟GET我使用Github 5 年总结的这些骚操作!
用会声会影替换视频背景原来这么简单
Why is your money transferred? This article tells you the answer
使用基于GAN的过采样技术提高非平衡COVID-19死亡率预测的模型准确性
Explore cache configuration of Android gradle plug-in
你的钱为什么会被转走,这篇文章告诉你答案
Using fastai to develop and deploy image classifier application
从一次需求改良漫谈php文件分片上传
随机推荐
为什么现在开发一款软件的时间越来越长?
Function calculation advanced IP query tool development
Autocad2020 full version installation text course, registration activation cracking method
Source code analysis of serilog -- implementation of sink
【运维思考】如何做好云上运维服务?
Express yourself with wechat expression translation, programmer's little romance, get up quickly!
How to download and install autocad2020 in Chinese
Program simulation perceptron algorithm (gradient descent method sklearn.linear_ Perception method in model)
什么是网站【新四化】?
How about Tencent cloud amd cloud server?
干货推荐:关于网络安全技术的专业术语,你知道多少?
【云小课】版本管理发展史之Git+——代码托管
用微信表情翻译表白,程序员的小浪漫,赶紧Get起来!
CAD2016软件安装教程
低功耗蓝牙单芯片为物联网助力
Installation and testing of Flink
手势切换背景,让直播带货更加身临其境
拉线式位移传感器在边坡裂缝中的作用
CAD2016下载AutoCAD2016下载安装详细教程CAD下载
揭秘在召唤师峡谷中移动路径选择逻辑?