Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm using Core 2 Duo. So, from Intel website I found that it is 64-bit architecture CPU.

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

How to find the same on windows?

share|improve this question
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
add comment

7 Answers 7

up vote 5 down vote accepted

On unix like OSes you can type uname -m to show the architecture.

Under windows follow microsofts guide

share|improve this answer
    
+1 for FAQ link. –  claws Aug 9 '10 at 15:20
add comment

On Windows Vista and newer you can run the command

wmic os get osarchitecture

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

share|improve this answer
add comment

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

share|improve this answer
    
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
add comment

Complimenting @Tofystedeth, in 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
share|improve this answer
    
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 R Mar 14 '13 at 18:10
add comment

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%

share|improve this answer
add comment

In linux

$ uname -a

shows info about the current running kernel.

share|improve this answer
add comment

You may run msinfo32.exe on your system (in Command prompt), check System type under System Summary.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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