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
 


OP
R

ryanvade

Guest
Code:
 [email protected]:~$ uname -p
x86_64
[email protected]:~$
Code:
[email protected]:~$ dpkg --print-architecture
amd64
[email protected]:~$
Code:
[email protected]:~$ 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"
[email protected]:~$
 
OP
R

ryanvade

Guest
http://xmodulo.com/2013/10/identify-cpu-processor-architecture-linux.html

Code:
[email protected]:/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
[email protected]:/build/likwid-3.0$
 
Last edited:
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top