How do you see whether your computer is 32-bit or 64-bit under Linux and Windows?

Source: Internet
Author: User

Methods to view under Windows:

Method One,

Enter "Winver" in the start → run, if your system is 64-bit, it will clearly indicate "x64 Edition".

Method Two, (recommended)

Enter SystemInfo carriage return in the CMD window to display the system details,

One of the observation system type , marked is x86 based PC,

i.e.: System type: x86-based PC

The description is 32 bits, otherwise 64 bits "marked :" x64 Edition".

Note: If it is a genuine OS, you can click on "My Computer", right-click "Properties", you can also see the version.

How to view under LI Nux:

Method One:

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 Lib s), for Gnu/linux 2.6.9, stripped

If 64 bits, 64 bits are displayed, or 32 bits if 32 bits.

Method Two:

[Email protected] ~]# uname-a
Linux Test233 2.6.18-238.el5 #1 SMP Sun Dec 14:22:44 EST x86_64 x86_64 x86_64 gnu/linux

X86_64 represents 64-bit machines

i686 represents 32-bit machines

i686 is only a subset of I386, supported CPUs starting from Pentium 2 (686), previous models do not support

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.

Or

Uname-i "Printing hardware platform print the hardware platform or" unknown ""

[Email protected]_21 tetst]# uname-i
x86_64

Or uname-p "results are the same as-I"

-P,--processor
Print the processor type


-I.,--hardware-platform
Print the hardware platform

Method Three:

Getconf Long_bit

Run the following command on both 32-bit and 64-bit machines, with the following results:

32

[Email protected] ~]# getconf long_bit
64

How can I see whether my computer is 32-bit or 64-bit under Linux and Windows?

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.