The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > OS Specific Forums > AIX
Google UNIX.COM


AIX AIX is IBM's industry-leading UNIX operating system that meets the demands of applications that businesses rely upon in today's marketplace.

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
How to check who delete /platform unitipon UNIX for Dummies Questions & Answers 2 08-14-2007 06:39 AM
sending data to a different platform rgard UNIX for Dummies Questions & Answers 2 12-01-2005 08:49 AM
Reading tapes from other platform Stefan L UNIX for Advanced & Expert Users 1 08-17-2005 08:02 PM
Need help in choosing Unix Platform. justanoob UNIX for Dummies Questions & Answers 3 03-09-2005 11:45 PM
Platform decision Scooter UNIX for Dummies Questions & Answers 5 11-01-2002 07:20 PM

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-22-2006
Registered User
 

Join Date: Mar 2006
Posts: 1
AIX platform

Hello,

I need to download some programs to AIX 5.2 box but the download page have two versions: for 32 and 64 bits.
Is there a command to know what platform is my AIX 5.2 box?
I mean 32 or 64 bits??

Thanks in advance.
Reply With Quote
Forum Sponsor
  #2 (permalink)  
Old 03-22-2006
RTM's Avatar
RTM RTM is offline
Hog Hunter
 
Join Date: Apr 2002
Location: On my motorcycle
Posts: 3,039
Quote:
The base operating system 64-bit runtime fileset is bos.64bit. Installing bos.64bit also installs the /etc/methods/cfg64 file. The /etc/methods/cfg64 file provides the option of enabling or disabling the 64-bit environment via SMIT, which updates the /etc/inittab file with the load64bit line. (Simply adding the load64bit line does not enable the 64-bit environment).

The command lslpp -l bos.64bit reveals if this fileset is installed. The bos.64bit fileset is on the AIX media; however, installing the bos.64bit fileset does not ensure that you will be able to run 64-bit software. If the bos.64bit fileset is installed on 32-bit hardware, you should be able to compile 64-bit software, but you cannot run 64-bit programs on 32-bit hardware.

The syscalls64 extension must be loaded in order to run a 64-bit executable. This is done from the load64bit entry in the inittab file. You must load the syscalls64 extension even when running a 64-bit kernel on 64-bit hardware.
Hardware Required for 64-Bit Mode

You must have 64-bit hardware to run 64-bit applications. To determine whether your system has 32-bit or 64-bit hardware architecture:

1. Log in as a root user.
2. At the command line, enter bootinfo -y.

This produces the output of either 32 or 64, depending on whether the hardware architecture is 32-bit or 64-bit. In addition, if you enter lsattr -El proc0 at any version of AIX, the type of processor for your server displays.
Kernel Extensions vs. 64-bit Kernel

To determine if the 64-bit kernel extension is loaded, at the command line, enter genkex |grep 64.

Information similar to the following displays:

149bf58 a3ec /usr/lib/drivers/syscalls64.ext

Note:
Having the driver extensions does not mean that the kernel is a 64-bit kernel. A 64-bit kernel became available at the AIX 5.1 level. The driver extensions simply allow the 64-bit application to be compiled by a 32-bit kernel. If the 32-bit kernel has a 64-bit processor, syscalls64.ext allows the 64-bit application to execute. Yet at the AIX 5L level, a 64-bit kernel and a 64-bit processor has better performance with 64-bit applications.
Changing from 32-Bit to 64-Bit

To truly change the kernel to 64-bit, the system must be at the AIX 5.1 or AIX 5.2 levels. To change to a 64-bit kernel, enter the following commands:

ln -sf /usr/lib/boot/unix_64 /unix
ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
lslv -m hd5
bosboot -ad /dev/ipldevice
shutdown -Fr

Changing from 64-Bit to 32-Bit

To change the kernel back to 32-bit, enter the following commands:

ln -sf /usr/lib/boot/unix_mp /unix
ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
lslv -m hd5
bosboot -ad /dev/ipldevice
shutdown -Fr
See info at ibm.com
Reply With Quote
Google UNIX.COM
Reply

Thread Tools
Display Modes




All times are GMT -7. The time now is 04:30 AM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited.
The UNIX and Linux Forums Content Copyright ©1993-2008 The CEP Blog All Rights Reserved -Ad Management by RedTyger Visit The Global Fact Book

Content Relevant URLs by vBSEO 3.2.0