View Linux 32-bit or 64-bit

Source: Internet
Author: User

To see whether a Linux machine is a 32-bit or 64-bit method:

File/sbin/init or File/bin/ls
/sbin/init:elf 64-bit LSB executable, x86-64, version 1 (SYSV), dynamically linked (uses shared libs), for Gnu/linux 2.6. Stripped,

If the display 64-bit is 64 bits;

File/sbin/init
/sbin/init:elf 32-bit LSB executable, Intel 80386, version 1 (SYSV), for Gnu/linux 2.2.5, dynamically linked (uses shared LIBS), stripped


32bit if it is displayed as a + bit;

Uname-a:
Uname-a
Linux pmx002**.**.** 2.6.32-71.el6.x86_64 #1 SMP Wed Sep 1 01:33:01 EDT all x86_64 x86_64 x86_64 gnu/linux

X86_64 represents 64-bit machines

Uname-a
Linux pmx0**.**.** 2.6.9-5.elsmp #1 SMP Wed Jan 5 19:30:39 EST 2005 i686 i686 i386 Gnu/linux


i686 represents 32-bit machines

i686 is only a subset of the i386, supported CPUs starting from Pentium 2 (686), the previous model is not supported.

Note:

1. i386 applies to all 32-bit CPUs of Intel and AMD. and via 32 CPU with X86 architecture.

Intel platforms include 8086,80286,80386,80486, Pentium Series (1.2.3.4), Celeron series, Pentium D series

and Centrino P-m,core duo and so on.

2. x86_64 applies to Intel's Core 2 Duo, Centrino Core 2 Duo, and Xeon and AMD Athlon64/x2, SEMPRON64/X2, Duron64 and other 64-bit CPUs with X86 architecture.

3. PPC applies to Apple Macintosh G3, G4, G5, PowerBook, and other Non-intel models

The installation DVD includes more software than the installation CD, and the installation DVD also includes two graphical interfaces (KDE and GNOME).

4.Jigdo

Fedora distributions can also be downloaded via Jigdo. Jigdo can speed up the download of the ISO image of the installation disk. Unlike the BT download waiting task complete, Jidgo automatically locates the fastest mirror server (via the Fedora Image Manager) and downloads the required files from it. To reduce the amount of network traffic required, you can have Jigdo scan the existing DVD or CD media. This feature is especially useful for the following users.

getconf Long_bit
Run the following command on 32-bit and 64-bit machines with the following results:
[[email protected] ~]$ getconf long_bit
64

[Email protected]/]# getconf long_bit
32

View Linux 32-bit or 64-bit

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.