CHECK MY LINUX PLATFORM X86-64 OR X-86

  • Thread starter Guillermo Santacruz
  • Start date
G

Guillermo Santacruz

Guest
How can I check what these platform I got it by command terminal?x86 or x86-64
 


Code:
 ryanvade@ryan-linux-laptop:~$ uname -p
x86_64
ryanvade@ryan-linux-laptop:~$
Code:
ryanvade@ryan-linux-laptop:~$ dpkg --print-architecture
amd64
ryanvade@ryan-linux-laptop:~$
Code:
ryanvade@ryan-linux-laptop:~$ cat /boot/config-$(uname -r) | head
#
# Automatically generated file; DO NOT EDIT.
# Linux/x86 3.11.3 Kernel Configuration
#
CONFIG_64BIT=y ###See?
CONFIG_X86_64=y ###See?
CONFIG_X86=y
CONFIG_INSTRUCTION_DECODER=y
CONFIG_OUTPUT_FORMAT="elf64-x86-64"
CONFIG_ARCH_DEFCONFIG="arch/x86/configs/x86_64_defconfig"
ryanvade@ryan-linux-laptop:~$
 
http://xmodulo.com/2013/10/identify-cpu-processor-architecture-linux.html

Code:
ryanvade@ryan-linux-laptop:/build/likwid-3.0$ 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:    2
Core(s) per socket:    2
Socket(s):            1
NUMA node(s):          1
Vendor ID:            GenuineIntel
CPU family:            6
Model:                42
Stepping:              7
CPU MHz:              800.000
BogoMIPS:              4988.46
Virtualisation:        VT-x
L1d cache:            32K
L1i cache:            32K
L2 cache:              256K
L3 cache:              3072K
NUMA node0 CPU(s):    0-3
ryanvade@ryan-linux-laptop:/build/likwid-3.0$
 
Last edited:


Top