Home >Operation and Maintenance >CentOS >Does centos differentiate between 32 and 64 bits?

Does centos differentiate between 32 and 64 bits?

WBOY
WBOYOriginal
2022-04-14 14:25:223811browse

centos distinguishes between 32-bit and 64-bit. 32-bit systems are mainly released based on PCs, while 64-bit systems are mainly aimed at large-scale scientific calculations; you can use the "uname -a" command to check whether the system is 32-bit or 64-bit. The one with "x86_64" in the result is 64-bit. , if it shows i686 or i386, it means 32-bit.

Does centos differentiate between 32 and 64 bits?

The operating environment of this article: centos 7 system, Dell G3 computer.

Does centos differentiate between 32 and 64 bits?

centos differentiates between 32 and 64 bits

##Main differences:

CentOS 32bit system is mainly released for PC;

CentOS 64bit system is mainly released for large-scale scientific computing.

64bit Linux system is mainly installed on 64bit hardware system;

32bit Linux system can be installed on 32bit hardware system, and can also be installed on 64bit hardware but the running effect is not good (big horse-drawn cart ).

64bit addressing space is larger, 128G memory can be addressed and operated;

32bit addressing space is small and cannot be used by Oracle systems. Large memory support can be enabled through PAE (Physical Address Extension).

How to check whether the system is 32-bit or 64-bit?

1. uname -a

If there is x86_64, it is 64-bit, if not, it is 32-bit.

is followed by X686 or X86_64 The kernel is 64-bit, and for i686 or i386, the kernel is 32-bit

2, file /sbin/init

[root@localhost ~]# file /sbin/init
/sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

3, file /bin/ ls

[root@localhost ~]# file /bin/ls
/bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped

Recommended tutorial: "

centos tutorial"

The above is the detailed content of Does centos differentiate between 32 and 64 bits?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:What is lzo under centos?Next article:What is lzo under centos?