How to Find Out the Bitness of Your OS

How to Find Out the Bitness of Your OS

Introduction:

To identify the System Type of your Linux or Windows Operating System from the cmd line.

Procedure:

Linux

Open the CLI to a Linux server by SSH using Putty. Type the following command line:
uname –p
i386/i486/i586/i686 is a 32 bit kernel.
[[email protected] /]# uname -p
i686
x86_64 is a 64bit Linux kernel running.
[[email protected] /]# uname -p
x86_64

Windows

Open the Windows Command Screen by typing cmd.exe. Type the following on the command line:
systeminfo | findstr /i System Type
Observe the System Type field. A 64 Bit OS is displayed below.

C:\Windows\System32>systeminfo | findstr /i System
System Boot Time: 6/26/2013, 2:00:31 PM
System Manufacturer: LENOVO
System Model: 29123RU
System Type: x64-based PC
System Directory: C:\Windows\system32
System Locale: en-us;English (United States)
[05]: Cisco Systems VPN Adapter for 64-bit Windows

A 32 Bit OS is displayed below.

C:\Windows\System32>systeminfo | findstr /i System
System Boot Time: 6/26/2013, 2:00:31 PM
System Manufacturer: LENOVO
System Model: 29123RU
System Type: x86-based PC
System Directory: C:\Windows\system32
System Locale: en-us;English (United States)
[05]: Cisco Systems VPN Adapter for 64-bit Windows