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?

link|improve this question

72% accept rate
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
feedback

5 Answers

up vote 2 down vote accepted

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

Under windows follow microsofts guide

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

On Windows Vista and newer you can run the command

wmic os get osarchitecture

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

link|improve this answer
feedback

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

link|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
feedback

In linux
$ uname -a
shows info about the current running kernel.

link|improve this answer
feedback

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
link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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