This note is intended to provide the UNIX and Oracle commands required toaccurately determine the version and word-size of both UNIX Operating systems and Oracle Database software. WHAT VERSION OF UNIX IS BEING USED? ==========================================================The UNIX command 'uname -a' (generally located in /usr/bin) is available on most UNIX platforms and is usually sufficient to retrieve basic information about the OS version.However, on the following platforms, OS specific commands are required to retrieve the full version number: AIX:/usr/bin/oslevel Digital UNIX/Tru64:/usr/sbin/sizer -v IS THE OPERATING SYSTEM 32BIT OR 64BIT? ===================================================================================== IMPORTANT: 64bit Operating Systems support both 32bit and 64bit applications. 32bit Operating Systems support only 32bit applications. AIX:Command: /bin/lslpp -l bos.64bit ...to see if bos.64bit is installed & committed. -or- /bin/locale64 ...error message if on 32bit machine such as: Could not load program /bin/locale64: Cannot run a 64-bit program on a 32-bit machine.Digital UNIX/Tru64:This OS is only available in 64bit form.Solaris(Available in 64bit starting with Solaris7):Command: isainfo -v (on Solaris7 and above) ...indicates if 64bit enabled HP-UX(Available in 64bit starting with HP-UX 11.0):Command: /bin/getconf KERNEL_BITS...returns either 32 or 64 SGI:This OS is only available in 64bit form.The remaining supported UNIX platforms are only available in 32bit form.IS ORACLE 32BIT or 64BIT? ===================================================================================== Starting with version 8, Oracle began shipping 64bit versions of it's RDBMS product on UNIX platforms that support 64bit software. IMPORTANT:64bit Oracle can only be installed on Operating Systems that are 64bit enabled. In general, if Oracle is 64bit, '64bit' will be displayed on the opening banners of Oracle executables such as 'svrmgrl', 'exp' and 'imp'.It will also be displayed in theheaders of Oracle trace files. Otherwise if '64bit' is not display at these locations, it can be assumed that Oracle is 32bit.To verify the wordsize of the installed Oracle software: ===================================================================Start Server Manager Line Mode (8i and below):% svrmgrl....the banner for 64bit will display "64bit Production"From SQL*Plus:SQL> select * from v$version;...if 64bit, "64bit Production" will be displayed.From the OS level:% cd $ORACLE_HOME/bin% file oracle...if 64bit, '64bit' will be indicated.To verify the wordsize of the software on the installation cd-rom: ===================================================================On Operating Systems that support both 32bit and 64bit applications, Oraclemay supply both a 32bit and 64bit RDBMS version.The 64bit cd-roms will be labeled with a '64 bit' designation, while the32bit software cd will not.To verify the wordsize of a downloaded patchset: ===================================================================The filename of the downloaded patchset usually dictates which version andwordsize of Oracle it should be applied against. For instance: p1882450_8172_SOLARIS64.zip is the 8.1.7.2 patchset for 64bitOracle on Solaris.Also refer to the README that is included with the patch or patch set andthis Note:[NOTE:169547.1] Understanding and Obtaining Oracle RDBMS Patchsets
|