How can I tell if AIX is running 32/64 bit

How can I tell if AIX is running 32/64 bit

Post by Sudhakar Karuppaia » Wed, 01 Mar 2000 04:00:00



Hi,

Can someone please tell me how I can find out if aix 4.3.2 and above is
running in 32 bit mode or 64 bit mode. I found that /etc/inittab has an
entry to load 64, which tells me that it should me running at 64 bit but
'getconf  LONG_BIT ' returns 32.

Thanks

Sudhakar

 
 
 

How can I tell if AIX is running 32/64 bit

Post by tex » Wed, 01 Mar 2000 04:00:00


The AIX kernel is 32-bit.  Yes, there are 64-bit RS/6000s, fast
ones.  And yes, you can run 64 bit (or 32-bit) applications on
that HW.  But AIX, even on the 64-bit HW has a 32-bit kernel.
Unless you turn on compile flags you will get a 32-bit binary if
you compile C code on AIX using IBM's C compiler.  This is true
on both 32-bit or 64-bit HW.  I hope this helps you.

* Sent from RemarQ http://www.remarq.com The Internet's Discussion Network *
The fastest and easiest way to search and participate in Usenet - Free!

 
 
 

How can I tell if AIX is running 32/64 bit

Post by Gary R. Hoo » Fri, 03 Mar 2000 04:00:00


AIX 4.3.2 runs in 32-bit mode.  That's the only kind of kernel you
can get, even on 64-bit hardware.  There will be, however, 64-bit
processes on 64-bit hardware.

If you want the type information, longs and pointers are 64-bit
in 64-bit mode; ints are still 32-bit.  In 32-bit bit mode all
3 are 32-bits wide.

All the 64-bit configuration does is load a kernel extension that
provides the 64-bit system calls (amidst other stuff, of course :-)
Then you can run 64-bit apps.  But the underlying kernel is still
32-bit, albeit a smart 32-bit ;-)


> Can someone please tell me how I can find out if aix 4.3.2 and above is
> running in 32 bit mode or 64 bit mode. I found that /etc/inittab has an
> entry to load 64, which tells me that it should me running at 64 bit but
> 'getconf  LONG_BIT ' returns 32.

--
Gary R. Hook / AIX Kernel Development, IBM / These opinions are _MINE_
________________________________________________________________________
A piece of canvas is only the beginning
It takes on character with every loving stroke
This thing of beauty is the passion of an artist's heart
By God's design, we are a skin kaleidoscope    "Colored people", dc Talk