linux查看CPU线程信息

linux查看CPU线程信息

定义

-多处理器指安装在同一块主板上的多颗处理器
-多核指单颗处理器包含多个完整的计算引擎(内核)
-多线程指单核在硬件上实现多个线程并发执行的技术

处理器信息

$cat /proc/cpuinfo
processor   : 0
......
processor   : 23
vendor_id   : GenuineIntel
cpu family  : 6
model       : 44
model name  : Intel(R) Xeon(R) CPU E5645 @ 2.40GHz
stepping    : 2
microcode   : 5
cpu MHz     : 1600.000
cache size  : 12288 KB
physical id : 1
siblings    : 12
core id     : 9
cpu cores   : 6
apicid      : 51
initial apicid  : 51
fpu             : yes
fpu_exception   : yes
cpuid level     : 11
wp              : yes
flags           : 
bogomips        : 4798.16
clflush size    : 64
cache_alignment : 64
address sizes   : 40 bits physical, 48 bits virtual
power management:

汇总表

processorcore idphysical id
000
101
280
381
420
521
6100
7101
810
911
1090
1191
1200
1301
1480
1581
1620
1721
18100
19101

总结

-两颗处理器(两个physical id)
-每颗处理器含有六核(相同physical id有六个core id)
-每核有两个线程(相同的physical id和core id有两个逻辑处理器)
-机器共有24个CPU线程

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值