English

How To: Determine if 32-bit or 64-bit software is installed on server

Summary

System Administrators and Database Administrators often need to know if they should install the 32-bit or 64-bit version of ESRI software on a given server.

Generally, the Relational Database Management System (RDBMS) determines the version that must be installed.

The hardware and operating system determine the version of an RDBMS that can be installed on the server.

Instructions provided describe ways to determine the version to be installed, based on the given operating systems.

Procedure

Find and follow the commands below that are specific to your operating system, to determine if the operating system supports 32-bit or 64-bit software. The commands must be executed in a shell or terminal console on the server, except where stated.

Note:
It may be necessary to obtain root priviliges to run the following commands.

AIX

Code:
getconf HARDWARE_BITMODE

This returns the bit mode of the machine hardware, 32-bit or 64-bit.

Code:
getconf KERNEL_BITMODE

This returns the bit mode of the kernel (OS), 32-bit or 64-bit.

HP-UX

Code:
getconf KERNEL_BITS


This returns 64-bit if the operating system is running in 64-bit mode. If it is running in 32-bit mode, then getconf returns an error saying it does not recognize the KERNEL_BITS argument.

EXAMPLES:
On an HP-UX system running in 64-bit mode:

Code:
$ getconf KERNEL_BITS
64


On HP-UX system running in 32-bit mode:

Code:
$ getconf KERNEL_BITS
getconf: Invalid argument (KERNEL_BITS)

Linux

Code:
uname -a

If 'ia64' or 'x86_64' is displayed, the OS was compiled for and is running on a 64-bit processor.

If 'i386' is displayed, the OS was compiled for and is running on a 32-bit processor.

Solaris

Code:
isainfo -v

This command did not exist prior to Solaris 2.7 because by default, they are 32-bit operating systems.

EXAMPLE:

Code:
$ isainfo -v
64-bit sparcv9 applications
32-bit sparc applications


This means the Solaris machine is capable of running 32-bit as well as 64-bit applications.

Windows

Code:
Click on Start > Run. Type 'winmsd' to display the 'System Information' window.
Look at the 'Item' column for the following entries:

OS Name - If the OS is a 64-bit version, it is listed in the Value column. If not, then it is a 32-bit version by default.

Processor - Find the processor module to determine if the CPU is a 64-bit CPU, such as 'ia64'. This is an Itanium 64-bit CPU.

EXAMPLE:

Code:
For 32 bit: Microsoft Windows XP Professional
For 64 bit: Microsoft Windows XP Professional x64 Edition (5.2, Build 3790)

DBMS

Oracle

To determine the version of Oracle that is installed on a system:

- Login to sqlplus.
- Notice the 'connection message'.

If 64-bit software is running, it is mentioned in the 'connection message'. If not listed, it is a 32-bit base version.

EXAMPLE:

Code:
Connected to:
Oracle8i Enterprise Edition Release 8.1.7.4.0 - 64bit Production.
With the Partitioning option
JServer Release 8.1.7.4.0 - 64bit Production

Related Information