The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Operating Systems > 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 10:39 AM
sending data to a different platform rgard UNIX for Dummies Questions & Answers 2 12-01-2005 12:49 PM
Reading tapes from other platform Stefan L UNIX for Advanced & Expert Users 1 08-18-2005 12:02 AM
Need help in choosing Unix Platform. justanoob UNIX for Dummies Questions & Answers 3 03-10-2005 03:45 AM
Platform decision Scooter UNIX for Dummies Questions & Answers 5 11-01-2002 11:20 PM

Closed Thread
English Japanese Spanish French German Portuguese Italian Dutch Swedish Russian Norwegian Hungarian Hebrew Danish Bulgarian Greek Powered by Powered by Google
 
LinkBack Thread Tools Search this Thread Rate Thread Display Modes
  #1 (permalink)  
Old 03-22-2006
jpoot jpoot is offline
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.
  #2 (permalink)  
Old 03-22-2006
RTM's Avatar
RTM RTM is offline Forum Advisor  
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
Closed Thread

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -4. The time now is 08:13 PM.


Powered by: vBulletin, Copyright ©2000 - 2006, Jelsoft Enterprises Limited. Language Translations Powered by .
vBCredits v1.4 Copyright ©2007 - 2008, PixelFX Studios
The UNIX and Linux Forums Content Copyright ©1993-2009. All Rights Reserved.Ad Management by RedTyger

Content Relevant URLs by vBSEO 3.2.0