Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to know if the AIX version i have is 32 or 64 bits 3

Status
Not open for further replies.

junioraixadm

IS-IT--Management
Mar 9, 2002
2
0
0
BE
Hi,

it is a dummy beginner question but i have to receive a few systems to work on it and sometimes thes are 32 bits, sometimes 64 bits.
My goal is to make a daily report of the different characteristics of the AIX systems within the bits 32 or 64.
I thought that bootinfo -k would help me but it is not.

Which magic command can help me ?

Thanks and Regards
Bono
 
Filesets needed
The bos.64bit is the Base Operating System 64-bit runtime fileset.
If bos.64bit is not installed, you do not have the /etc/methods/cfg64 file.
Without the /etc/methods/cfg64 file, you will not have the option of
enabling or disabling the 64-bit environment via SMIT, which updates
the inittab with the load64bit line (simply adding
this line does not enable the 64-bit environment).

The command lslpp -l bos.64bit will reveal if this fileset is installed.
The bos.64bit fileset is on the 4.3.x media, however, installing it does
not ensure that you will be able to run 64-bit software.

With the bos.64bit fileset installed on non 64-bit hardware,
you should be able to compile your 64-bit software;
however, you will not be able to run 64-bit programs
on your 32-bit hardware.


Hardware required

You must have 64-bit hardware to run 64-bit applications.
At AIX levels 4.3.2 and 4.3.3, to determine whether
your system has 32-bit or 64-bit hardware architecture:

1.Log in as root.
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 output of the command should return the
type of processor for your server.

The types of 64-bit processors are as follows:

PowerPC_RS64
PowerPC_RS64 II
PowerPC_RS64 III
PowerPC_Power3
PowerPC_Power3 II


Kernel extensions
To determine if the 64-bit kernel extension is loaded, from the
command line enter:

genkex |grep 64

You should see information similar to the following:

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


I thought it was bootinfo -K (capital K...) but that only worked in 4.3.3 and higher...
I think it was maintenance level 6 for 4.3.3 when they put that flag.....
 
Thank you very much for this complete answer, that's all what i needed.
Greetings
 
Dear Aixqueen,
This question and reply is just what I was looking for. Could you put some of your knowlage in a bottle and send it to me??
Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top