当前位置:网站首页>CentOS view the number of CPU cores and cpuinfo analysis
CentOS view the number of CPU cores and cpuinfo analysis
2020-11-09 16:11:00 【At Yang】
Physics CPU Check the number
$ cat /proc/cpuinfo | grep "cpu cores"| uniq
cpu cores : 4
$ cat /proc/cpuinfo | grep "cpu cores"| wc -l
4
Logic CPU Check the number
$ 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 analysis
$ cat /proc/cpuinfo
Output results
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:
explain ( Reference resources https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/4/html/reference_guide/s2-proc-cpuinfo)
- processor - An identification number of the processor . For example, the machine is a core , Then for 0, It is multi-core , Then for 0,1,2...
- cpu family - Identify the type of processor . Based on Intel The system of , Put the numbers in “86” To determine the value . This is for identifying old systems ( for example 586、486 or 386) Particularly useful . Because a number of RPM software package , So this value can also help the user determine which packages to install
- model name - Displays the general name of the processor , Including its project name
- cpu MHz - Displays the exact speed of the processor in megahertz , To the nearest thousandth
- cache size - 2 Level memory cache capacity
- siblings - Hyper threaded machines in the same physics CPU On the same level CPU The number of
- flags - Define a variety of different qualities about the processor , For example, floating point units (FPU) The existence and treatment of MMX The ability to command
版权声明
本文为[At Yang]所创,转载请带上原文链接,感谢
边栏推荐
- 5 minutes get I use GitHub's 5-year summary of these operations!
- .NET报表生成器Stimulsoft Reports.Net 发布最新版v2020.5!
- Equivalent judgment between floating point numbers
- Cad2016 software installation tutorial
- 脑机接口先驱炮轰马斯克:“他走的是一条死胡同,说的话我一个字都不同意”
- OpenYurt 深度解读:如何构建 Kubernetes 原生云边高效协同网络?
- Full link stress testing of moral integrity -- the evolution of corpus intelligence
- 树莓派内网穿透建站与维护,使用内网穿透无需服务器
- Simple use of AE (after effects)
- Application of pull wire displacement sensor in slope cracks
猜你喜欢

5 minutes get I use GitHub's five-year summary of these complaints!

解决微信小程序使用switchTab跳转后页面不刷新的问题

揭秘在召唤师峡谷中移动路径选择逻辑?

SEO solution development, how to break away from the shadow of the bow?

微服务框架 Go-Micro 集成 Nacos 实战之服务注册与发现

Mit6.824 distributed system course translation & learning notes (3) GFS

知识图谱描边1.1——从NER上手

你以为学编程很简单吗,其实它很难!你以为学编程很难吗,其实它很简单!

Function calculation advanced IP query tool development

CentOS查看CPU核心数及cpuinfo解析
随机推荐
融云完成数亿人民币 D 轮融资,将持续打造全球云通信能力
MES系统在工厂生产管理起到9大很重要的作用
在Python中创建文字云或标签云
从一次需求改良漫谈php文件分片上传
【分享】接口测试如何在post请求中传递文件
5分钟GET我使用Github 5 年总结的这些骚操作!
校准服务的六个轴心
A certification and authorization solution based on. Net core - hulutong 1.0 open source
Explore cache configuration of Android gradle plug-in
Kubernetes-17:Kubernets包管理工具—>Helm介绍与使用
脑机接口先驱炮轰马斯克:“他走的是一条死胡同,说的话我一个字都不同意”
超大折扣力度,云服务器 88 元秒杀
程序模拟感知机算法(梯度下降法、sklearn.linear_model中perception方法)
Colleague notes - small program entry point
Mobile security reinforcement helps app achieve comprehensive and effective security protection
Git + -- Code hosting in the history of version management
用会声会影替换视频背景原来这么简单
MES系统在行业应用里区别于传统式管理
Revealing the logic of moving path selection in Summoner Canyon?
Function calculation advanced IP query tool development