在linux下面可以查看一下超线程是否开启

命令:dmidecode -t processor

[root@cluster ~]# dmidecode -t processor

# dmidecode 2.12

SMBIOS 2.8 present.

Handle 0x0400, DMI type 4, 42 bytes

Processor Information

Socket Designation: CPU1    这里可以查看机器有几个CPU

Type: Central Processor

Family: Xeon

Manufacturer: Intel

ID: F2 06 03 00 FF FB EB BF

Signature: Type 0, Family 6, Model 63, Stepping 2

Flags:

FPU (Floating-point unit on-chip)

VME (Virtual mode extension)

DE (Debugging extension)

PSE (Page size extension)

TSC (Time stamp counter)

MSR (Model specific registers)

PAE (Physical address extension)

MCE (Machine check exception)

CX8 (CMPXCHG8 instruction supported)

APIC (On-chip APIC hardware supported)

SEP (Fast system call)

MTRR (Memory type range registers)

PGE (Page global enable)

MCA (Machine check architecture)

CMOV (Conditional move instruction supported)

PAT (Page attribute table)

PSE-36 (36-bit page size extension)

CLFSH (CLFLUSH instruction supported)

DS (Debug store)

ACPI (ACPI supported)

MMX (MMX technology supported)

FXSR (FXSAVE and FXSTOR instructions supported)

SSE (Streaming SIMD extensions)

SSE2 (Streaming SIMD extensions 2)

SS (Self-snoop)

HTT (Multi-threading)

TM (Thermal monitor supported)

PBE (Pending break enabled)

Version: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz

Voltage: 1.3 V

External Clock: 8000 MHz

Max Speed: 4000 MHz

Current Speed: 2600 MHz

Status: Populated, Enabled

Upgrade: Socket LGA2011-3

L1 Cache Handle: 0x0700

L2 Cache Handle: 0x0701

L3 Cache Handle: 0x0702

Serial Number: Not Specified

Asset Tag: Not Specified

Part Number: Not Specified

Core Count: 8

Core Enabled: 8

Thread Count: 16

Characteristics:

64-bit capable

Multi-Core

Hardware Thread

Execute Protection

Enhanced Virtualization

Power/Performance Control

Handle 0x0401, DMI type 4, 42 bytes

Processor Information

Socket Designation: CPU2                     我这个机器有两个CPU

Type: Central Processor

Family: Xeon

Manufacturer: Intel

ID: F2 06 03 00 FF FB EB BF

Signature: Type 0, Family 6, Model 63, Stepping 2

Flags:

FPU (Floating-point unit on-chip)

VME (Virtual mode extension)

DE (Debugging extension)

PSE (Page size extension)

TSC (Time stamp counter)

MSR (Model specific registers)

PAE (Physical address extension)

MCE (Machine check exception)

CX8 (CMPXCHG8 instruction supported)

APIC (On-chip APIC hardware supported)

SEP (Fast system call)

MTRR (Memory type range registers)

PGE (Page global enable)

MCA (Machine check architecture)

CMOV (Conditional move instruction supported)

PAT (Page attribute table)

PSE-36 (36-bit page size extension)

CLFSH (CLFLUSH instruction supported)

DS (Debug store)

ACPI (ACPI supported)

MMX (MMX technology supported)

FXSR (FXSAVE and FXSTOR instructions supported)

SSE (Streaming SIMD extensions)

SSE2 (Streaming SIMD extensions 2)

SS (Self-snoop)

HTT (Multi-threading)

TM (Thermal monitor supported)

PBE (Pending break enabled)

Version: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz

Voltage: 1.3 V

External Clock: 8000 MHz

Max Speed: 4000 MHz

Current Speed: 2600 MHz

Status: Populated, Enabled

Upgrade: Socket LGA2011-3

L1 Cache Handle: 0x0703

L2 Cache Handle: 0x0704

L3 Cache Handle: 0x0705

Serial Number: Not Specified

Asset Tag: Not Specified

Part Number: Not Specified

Core Count: 8

Core Enabled: 8

Thread Count: 16                        这个地方显示如果开超线程,那就应该是16核心,不开则为8核心。

Characteristics:

64-bit capable

Multi-Core

Hardware Thread

Execute Protection

Enhanced Virtualization

Power/Performance Control

我们还需要一步命令。查看cpu的一共核心是多少。

[root@cluster ~]# cat /proc/cpuinfo   查看最后显示的processor就可以,这里等于32个。那我们简单计算一下我机器2个cpu,没开超线程应该是16,开了那就是32核心。这个是从0开始计算的,所以我的机器,是开了超线程的。

processor: 31

vendor_id: GenuineIntel

cpu family: 6

model: 63

model name: Intel(R) Xeon(R) CPU E5-2640 v3 @ 2.60GHz

stepping: 2

cpu MHz: 2600.138

cache size: 20480 KB

physical id: 1

siblings: 16

core id: 7

cpu cores: 8

apicid: 31

initial apicid: 31

fpu: yes

fpu_exception: yes

cpuid level: 15

wp: yes

flags: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 fma cx16 xtpr pdcm pcid dca sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm ida arat epb xsaveopt pln pts dts tpr_shadow vnmi flexpriority ept vpid fsgsbase bmi1 avx2 smep bmi2 erms invpcid

bogomips: 5199.24

clflush size: 64

cache_alignment: 64

address sizes: 46 bits physical, 48 bits virtual

power management:

[root@cluster ~]#

阅读(1611) | 评论(0) | 转发(0) |

linux超进程,linux下查看超线程相关推荐

  1. Linux、ubuntu系统下查看显卡型号、显卡信息详解

    本文将介绍Linux系统下查看显卡硬件信息内容如下: 如何在ubuntu系统中查看显卡型号.(其他文章大多只介绍了命令而未介绍如何对应显卡型号) 在ubuntu系统中显卡详细信息,以及所代表的含义. ...

  2. linux系统在pe下查看ip地址,pe下查看原系统ip的方法_网站服务器运行维护

    linux查看php环境是否安装_网站服务器运行维护 linux查看php环境是否安装的方法:1.执行[find / -name php.ini]命令,查看系统是否有php的配置文件:2.执行[net ...

  3. Linux工作笔记036---Centos下查看cpu、磁盘、内存使用情况以及如何清理内存

    JAVA技术交流QQ群:170933152 Centos下查看cpu.磁盘.内存使用情况以及如何清理内存 核查服务器基本情况 查看内存使用情况 free -m 查看cpu使用情况 top #查看进程运 ...

  4. linux netstat 进程号,netstat 查看 服务进程号

    http://www.cnblogs.com/me-sa/articles/2080383.html netstat -nlpt 这篇文章颇有点顺藤摸瓜的意思,收藏之: netstat命令是一个监控T ...

  5. 【linux】Ubuntu 系统下查看显卡相关信息

    Ubuntu 系统下查看显卡相关信息 查看显卡信息 root@ubuntu:/home/ubuntu# lspci |grep -i vga 显示当前 GPU 使用情况 root@ubuntu:/ho ...

  6. linux defunct 进程,Linux僵尸进程(Zombie or defunct)

    僵尸进程(Zombie or defunct)关于Linux僵尸进程,一般是由于子进程结束的时候,会有一些资源没有释放掉,直到父进程结束或者由父进程去处理它才可以! www.cit.cn 僵尸进程就是 ...

  7. linux 等待进程,Linux 进程等待队列

    Linux内核的等待队列是以双循环链表为基础数据结构,与进程调度机制紧密结合,能够用于实现核心的异步事件通知机制. 在这个链表中,有两种数据结构:等待队列头(wait_queue_head_t)和等待 ...

  8. linux 释放进程res_linux内存查看及释放

    查看内存 常用的查看内存工具有:top,ps,free,/proc/meminfo,/proc/$PID/status等,一般都指定了虚拟内存占用情况,但ps或/proc/$PID/status中RS ...

  9. linux 释放进程res_linux下查询进程占用的内存方法总结

    linux下查询进程占用的内存方法总结 假设现在有一个「php-cgi」的进程 ,进程id为「25282」.现在想要查询该进程占用的内存大小.linux命令行 下有很多的工具进行查看,现总结常见的几种 ...

  10. linux父进程和子进程查看,linux查看父子进程

    python多进程代码 test.py #coding=utf-8 import multiprocessing import time def func(msg): print "msg: ...

最新文章

  1. C++编译期多态与运行期多态
  2. 轻量级Web渗透测试工具jSQL
  3. Tensorflow【实战Google深度学习框架】—使用 TensorFlow 实现模型
  4. gl.getAttribLocation P41 获取name参数指定的attribute变量存储地址
  5. ASP——判断数据库NULL值
  6. npm : 无法加载文件 D:\Program Files\nodejs\node_global\npm.ps1,因为在此系统上禁止运行脚本。
  7. logback.xml配置详解
  8. Ext---CheckBoxGroup的取值和赋值
  9. play框架入门操作
  10. Chrome图标的来历。
  11. 到 Google 面试去!开发者必读的避坑指南
  12. babel-preset-env
  13. linux协议栈网桥部分之cam表操作,Docker网络基础 - Linux网桥工作原理与实现
  14. 网页无法正常显示Lato字体,绕路而行
  15. C++实现的一个加密文件的程序
  16. 新媒体时代,内容为王已经走偏
  17. android如何截屏快捷键,安卓手机怎么截图 各大品牌快捷键截屏大集合
  18. python库有哪些餐厅_Python告诉你上海有哪些高性价比的西餐厅
  19. 【考研高数-高等数学-基础】第二章 导数与微分
  20. 通过PHP调用天市数据的水电煤缴费接口

热门文章

  1. 摄影构图学83年绝版_常用的摄影构图之点线面
  2. 一元三次方程求解matlab_为什么一元n次代数方程必有n个根?
  3. SOCK/HTTP代理协议解析
  4. 为wpf中的DataGrid控件添加鼠标单击事件
  5. Android之按钮点击事件(单击、双击、长按等)
  6. Eplan如何添加“连接定义点”
  7. Progressive Layered Extraction (PLE)
  8. 北大美女辞去公司副总职务创业养狗
  9. 从“一时红”到“持久火”,“网红”农产品如何越向“长红”?
  10. 在QT界面中使用ico/png等图片文件,生成exe后不依赖外部文件