ubuntu - 了解 CPU 架构缩写

标签 ubuntu cpu intel amd-processor

我已经在电脑上安装了ubuntu。现在我想知道它的CPU架构。我读过 uname -a 可以用于此目的,因此:

~$ uname -a
Linux desknode1 3.2.0-23-generic #36-Ubuntu SMP Tue Apr 10 20:39:51 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

从此页面:

http://en.wikipedia.org/wiki/X86-64

我推断它是 AMD cpu。但如果我运行:

~$ grep --color "model name" /proc/cpuinfo
model name  : Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz
model name  : Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz
model name  : Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz
model name  : Intel(R) Xeon(R) CPU           E5430  @ 2.66GHz
~$ 

表明它是英特尔四核。我还尝试运行 lscpu :

$ lscpu
Architecture:          x86_64
CPU op-mode(s):        32-bit, 64-bit
Byte Order:            Little Endian
CPU(s):                4
On-line CPU(s) list:   0-3
Thread(s) per core:    1
Core(s) per socket:    4
Socket(s):             1
NUMA node(s):          1
Vendor ID:             GenuineIntel
CPU family:            6
Model:                 23
Stepping:              6
CPU MHz:               2659.954
BogoMIPS:              5320.00
Virtualization:        VT-x
L1d cache:             32K
L1i cache:             32K
L2 cache:              6144K
NUMA node0 CPU(s):     0-3

: 供应商 ID:GenuineIntel

表示 Intel CPU。那么这台机器上的CPU是什么?

最佳答案

“uname -a”仅显示编译内核的架构。例如,在64位cpu(/proc/cpuinfo)上使用32位内核(uname)没有问题。

关于ubuntu - 了解 CPU 架构缩写,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12582204/

相关文章:

ARM 程序计数器的特点

Android 模拟器系统镜像和 AMD 处理器

mysql - 使用 openSSL 构建 MySQL 5.6.34

linux - 一键部署需要哪些权限设置?

java - docker 统计信息中的 cpu% 非常高表明什么?

multithreading - 在多线程的情况下,为什么每个逻辑CPU都有自己的CR3寄存器?

graph - Tensorflow:使用 CPU 的特定核心执行操作

c++ - 使用 intel 编译器编译 DLL 时出错

node.js - 为 Node.js 正确安装 SQLite

Ubuntu 16.04 byobu + tmux + vim 背景颜色问题