In Linux and Windows, how does one check whether the computer is 32-bit or 64-bit?

Source: Internet
Author: User

How to view the information in Windows:

Method 1,

Enter "winver" in "start"> "run". If your system is 64-bit, "x64 Edition" is clearly marked ".

Method 2 (recommended)

Enter systeminfo In the CMD window and press enter to display system details,

ObserveSystem TypeOne item, marked as x86 Based PC,

Namely: system type: X86-based PC

It indicates 32-bit. Otherwise, it indicates 64-bit.: "X64 Edition].

NOTE: If it is a genuine OS, you can click "my computer", right-click "properties", or you can see the version.

The method for viewing Li Nux is as follows:

Method 1:

File/sbin/init or file/bin/ls

/Bin/LS: Elf 64-bit LSB executable, amd x86-64, Version 1 (sysv), for GNU/Linux 2.6.9, dynamically linked (uses SHARED libs ), for GNU/Linux 2.6.9, stripped

If it is 64-bit, 64-bit is displayed. If it is 32-bit, 32-bit is displayed.

Method 2:

[Root @ test233 ~] # Uname-
Linux test233 2.6.18-238. EL5 #1 SMP Sun Dec 19 14:22:44 est 2010 x86_64 x86_64 x86_64 GNU/Linux

X86_64 indicates a 64-bit Machine

I686 indicates a 32-bit Machine

I686 is only a subset of i386, and the supported cpu starts from Pentium 2 (686). The previous model does not support

Note:
1. i386 is applicable to all 32-bit intel and AMD CPUs and 32-bit CPU via X86 architecture.
Intel platforms include 8086,80286, 80386,80133, Pentium series (1.2.3.4), sai Yang series, and Pentium D series
As well as Centrino P-M, Core Duo and so on.
2. x86_64 is applicable to Intel's 64-bit CPU with X86 architecture, including core 2 Duo, Centrino Core 2 Duo, and Xeon and AMD athlon64/X2, sempron64/X2, and duron64.
3. PPC applies to Apple Macintosh G3, G4, G5, PowerBook, and other non-Intel Models
The installation of a DVD includes more software than the installation of a CD, and the installation of a DVD also includes two graphical interfaces (KDE and gnome ).

4. jigdo

You can also download the ora release through jigdo. Jigdo can accelerate the download of the ISO image of the installation disk. Unlike the BT download wait task, jidgo automatically locates the fastest backup storage (using the fedora image manager) and downloads the required files from it. To reduce the required network traffic, jigdo can scan existing DVD or CD media. This feature is particularly useful to the following users.

Or

Uname-I [print the hardware platform or "unknown "]

[Root @ sys_21 tetst] # uname-I
X86_64

Or uname-P. The result is the same as-I]

-P, -- Processor
Print the processor type

-I, -- hardware-Platform
Print the hardware platform

Method 3:

Getconf long_bit

Run the following command on 32-bit and 64-bit machines:

32

[Root @ test233 ~] # Getconf long_bit
64

Related Article

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.