17

I'm using Core 2 Duo. From Intel website I found that it is a 64-bit architecture CPU.

Long back I've installed Ubuntu OS on this machine. But I'm not sure if I installed the x86-32 or x86-64 version of Linux. I want to know which version of Linux I'm using. How can I get to know that?

How do I find the same on Windows?

1
  • 1
    Please note that you probably won't find terms x86-32 or x86-64 mentioned if GNU/Linux utilities. Most likely you'll see something like i386/i486/i586/i686 for 32bit CPUs and amd64 for 64bit CPUs (original Intel 64bit CPUs were not part of the x86 family, so 64 bit extensions to x86 instruction set are often called amd64 because AMD made first x86 64bit processors). – AndrejaKo Aug 9 '10 at 14:19
13

On Unix-like OSes you can type uname -m to show the architecture:

$ uname -m
x86_64

Under Windows follow Microsoft's guide:

To find out if your computer is running a 32-bit or 64-bit version of Windows in Windows 7 or Windows Vista, do the following:

    Open System by clicking the Start button, right-clicking Computer, and then clicking Properties.

    Under System, you can view the system type.

If your computer is running Windows XP, do the following:

    Click Start.

    Right-click My Computer, and then click Properties.

        If you don't see "x64 Edition" listed, then you're running the 32-bit version of Windows XP.

        If "x64 Edition" is listed under System, you're running the 64-bit version of Windows XP.
0
16

On Windows Vista and newer you can run the command

wmic os get osarchitecture

to find out whether it's 32 or 64 bit.

8

From the console run

set 

and look for the PROCESSOR_ARCHITECTURE value. In my case:

PROCESSOR_ARCHITECTURE=AMD64

Or just print from the beggining

echo %PROCESSOR_ARCHITECTURE%
6

Complementing Tofystedeth's answer, in Windows XP (and newer) you can use cpu's AddressWidth and DataWidth to get the data you need.

If you want to find the architecture of the OS:

wmic cpu get AddressWidth

If you want to find the architecture of the processor itself:

wmic cpu get DataWidth
2
  • I'm pretty sure that Windows XP will report 32-bit regardless of the processor architecture when running the "wmic cpu get DataWidth" command. – Josh Mar 14 '13 at 18:10
  • If anyone's getting wmic installing... and then you get an error, what worked for me right after is, I type in the same cmd window: wmic got console: wmic:root\cli> and typed cpu get AddressWidth or cpu get DataWidth...both gave 32 (!!no need to precede with wmic) – Jadeye Aug 25 '16 at 17:50
1

For Windows, check out this document from Microsoft. It tells you how to find out for any version of Windows you might have:

http://support.microsoft.com/kb/827218link text

For Windows 7, check the instructions here:

http://windows.microsoft.com/en-US/windows7/32-bit-and-64-bit-Windows-frequently-asked-questions

2
  • This document is only for Windows XP & WIndows Server 2003 versions. – claws Aug 9 '10 at 15:18
  • ...except for all the Parts where it says "Vista". – Michael Aug 9 '10 at 15:24
0

On Linux,

uname -a

shows information about the current running kernel.

0

You may run msinfo32.exe (window System Information) on your system (in a command prompt). Check System Type under System Summary.

1
  • On Windows 10 there does not appear to be a "System Type". – Peter Mortensen Aug 25 '18 at 12:36
0

For Windows 10... SettingsSystem and then About (bottom left corner). It should be listed under Device Specifications: 64 bit operating system and x64-based processor.

4
  • The question doesn't ask about Windows 10, it asked how to tell which version of Linux (64-bit or 32-bit) is installed. – Blackwood Jan 19 '18 at 14:22
  • 1
    @Blackwood, "How to find the same on windows?". Other answers cover earlier versions of Windows. – fixer1234 Jan 19 '18 at 18:22
  • @fixer1234 That will tell you whether the installed version of Windows is 64-bit or 32-bit, and whether it is running on a 64-bit or 32-bit CPU. It won't tell you if you have installed a 32-bit version of Linux on your 64-bit computer. The question asks I want to know which version of Linux I'm using – Blackwood Jan 19 '18 at 18:31
  • 1
    @Blackwood, you're referring to the first question. The next sentence in the question is the second question that this answer refers to. :-) – fixer1234 Jan 19 '18 at 18:43

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.