03-22-2006
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
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hi folks
First, let me apologize in advance for the long message. I know this will sound like a typical "newbie" message but I am really working to understand the technology in order to make informed decisions.
I am currently in the process of evaluating Unix hardware and OS platforms for an... (5 Replies)
Discussion started by: Scooter
5 Replies
2. UNIX for Dummies Questions & Answers
Hello,
I have an application problem that uses trimrun on an AIX 5.1 platform. A specific process clocks at 100% for a cpu. I would like to trace/debug this process to see what it is doing. I have used trace & truss but wondering if there are other utilities out there that are better?
Can... (1 Reply)
Discussion started by: ctcuser
1 Replies
3. AIX
Hi,
my requirement is to migrate easytrieve running on Z/OS to AIX platform.
can anyone let me know what changes should be made if we do such a migration. (0 Replies)
Discussion started by: rohit510
0 Replies
4. Shell Programming and Scripting
hi everyone,
i am new in unix. i want to write(develop) unix shell script/program.
which platform can i use.
Generally i write scripts in "vi" platform.
Are there any platform for develop shell programs.
Please help me.
Thanx for your advice. (6 Replies)
Discussion started by: temhem
6 Replies
5. AIX
Hi,
I am trying to list all the interface present in the given system.
Here is sample program.
i.e. cat 1.c
#include <sys/types.h>
#include <sys/socket.h>
#include <sys/ioctl.h>
#include <sys/dlpi.h>
#include <net/if.h>
/*#include <sys/sockio.h>*/
#include <unistd.h>
#include... (3 Replies)
Discussion started by: jgobbur
3 Replies
6. Programming
Hi
can any body post example for socket tcpclient in c++ act like browser with HTTp 1.1 and send message for the server (2 Replies)
Discussion started by: Net Star
2 Replies
7. AIX
Dear ALL,
I'm working on a Siebel CRM enterprise which is completely on AIX 5.3 platform. I'm trying to find some information, in case you may be able to help.
Is there any command/procedure on AIX 5.3 by which I could check the blocked PIDs or lost PIDs for my Siebel Object Manager... (5 Replies)
Discussion started by: aarora_98
5 Replies
8. AIX
I desperately need help converting ascii data file generated on AIX platform that contains dollar sign ($) at the end of each line in the data file as shown below.
ME570^0128237^HG278999^20140805:21:00:00^BEENZ001^$
This is the AWK command for adding CR to the new line.
awk... (1 Reply)
Discussion started by: cumeh1624
1 Replies
9. AIX
Hi,
I am trying to open Oracle Warehouse Builder (10g) Design Center in AIX platform using the command ./OWBClient.sh. When I execute, I am getting the below error.
The JVM option is invalid: -XX: MaxPermSize=256M. Could not create the Java Virtual Machine.
Any resolution guidance for the... (4 Replies)
Discussion started by: becky123
4 Replies
10. UNIX for Beginners Questions & Answers
Hello.
It is my first to deal with Java installation on an AIX platform.
I am now trying to install Java 32bit using installp command. However, it throws back the message that the installation media cannot be found.
I need to install Java 32bit to proceed with an installation of Oracle JD... (0 Replies)
Discussion started by: EJ2019
0 Replies
LEARN ABOUT HPUX
platform
platform(n) Tcl Bundled Packages platform(n)
__________________________________________________________________________________________________________________________________________________
NAME
platform - System identification support code and utilities
SYNOPSIS
package require platform ?1.0.4?
platform::generic
platform::identify
platform::patterns identifier
_________________________________________________________________
DESCRIPTION
The platform package provides several utility commands useful for the identification of the architecture of a machine running Tcl.
Whilst Tcl provides the tcl_platform array for identifying the current architecture (in particular, the platform and machine elements) this
is not always sufficient. This is because (on Unix machines) tcl_platform reflects the values returned by the uname command and these are
not standardized across platforms and architectures. In addition, on at least one platform (AIX) the tcl_platform(machine) contains the CPU
serial number.
Consequently, individual applications need to manipulate the values in tcl_platform (along with the output of system specific utilities) -
which is both inconvenient for developers, and introduces the potential for inconsistencies in identifying architectures and in naming con-
ventions.
The platform package prevents such fragmentation - i.e., it establishes a standard naming convention for architectures running Tcl and
makes it more convenient for developers to identify the current architecture a Tcl program is running on.
COMMANDS
platform::identify
This command returns an identifier describing the platform the Tcl core is running on. The returned identifier has the general for-
mat OS-CPU. The OS part of the identifier may contain details like kernel version, libc version, etc., and this information may con-
tain dashes as well. The CPU part will not contain dashes, making the preceding dash the last dash in the result.
platform::generic
This command returns a simplified identifier describing the platform the Tcl core is running on. In contrast to platform::identify
it leaves out details like kernel version, libc version, etc. The returned identifier has the general format OS-CPU.
platform::patterns identifier
This command takes an identifier as returned by platform::identify and returns a list of identifiers describing compatible architec-
tures.
KEYWORDS
operating system, cpu architecture, platform, architecture
platform 1.0.4 platform(n)