当前位置:网站首页>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]所创,转载请带上原文链接,感谢
边栏推荐
猜你喜欢

Simple use of AE (after effects)

Kubernetes v1.19.3 kubeadm deployment notes (2)

CAD2016下载AutoCAD2016下载安装详细教程CAD下载

Help enterprises to get rid of difficulties, famous enterprises return home Engineers: success depends on it!

MES system is different from traditional management in industry application

高质量的缺陷分析:让自己少写 bug

cad教程 cad2016安装教程

AutoCAD 2020 installation package & Installation Tutorial

The latest version of pycharm 2020.3: pair programming, intelligent text proofreading and downloading experience

5 minutes get I use GitHub's five-year summary of these complaints!
随机推荐
拉线式位移传感器在边坡裂缝中的作用
寻找性能更优秀的不可变小字典
High quality defect analysis: let yourself write fewer bugs
Revealing the logic of moving path selection in Summoner Canyon?
Cad2016 software installation tutorial
揭秘在召唤师峡谷中移动路径选择逻辑?
It's so easy to replace the video background with the sound and shadow
JS design pattern
Knowledge mapping 1.1 -- starting from NER
CAD tutorial cad2016 installation course
jackson、fastjson、kryo、protostuff等序列化工具性能对比
5 minutes get I use GitHub's five-year summary of these complaints!
AE(After Effects)的简单使用——记一次模板套用的过程
知识图谱描边1.1——从NER上手
CentOS查看CPU核心数及cpuinfo解析
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
International top journal radiology published the latest joint results of Huawei cloud, AI assisted detection of cerebral aneurysms
树莓派内网穿透建站与维护,使用内网穿透无需服务器
Analysis of h264nalu head
QML Repeater