AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
Expand all | Collapse all

How can I tell if an RS/6000 is 32 / 64 Bit from the command line? Thanks

  • 1.  How can I tell if an RS/6000 is 32 / 64 Bit from the command line? Thanks

    Posted Thu November 16, 2006 10:08 AM

    Originally posted by: SystemAdmin




  • 2.  Re: How can I tell if an RS/6000 is 32 / 64 Bit from the command line? Thanks

    Posted Thu November 16, 2006 10:28 AM

    Originally posted by: SystemAdmin


    he command bootinfo -y will also tell you whether your hardware is 64-bit or not.
    1. bootinfo -y
    64
    Use the bootinfo -K flag to tell which kernel is active - example 32-bit

    # bootinfo -K
    32

    To switch from 32-bit mode to 64-bit mode follow these steps:

    # ln -sf /usr/lib/boot/unix_64 /unix
    # ln -sf /usr/lib/boot/unix_64 /usr/lib/boot/unix
    # bosboot -ad /dev/ipldevice
    # shutdown -Fr
    # bootinfo -K should now show 64

    To switch back from 64-bit to 32-bit use:

    # ln -sf /usr/lib/boot/unix_mp /unix
    # ln -sf /usr/lib/boot/unix_mp /usr/lib/boot/unix
    # bosboot -ad /dev/ipldevice
    # shutdown -Fr
    # bootinfo -K should now show 32


  • 3.  Re: How can I tell if an RS/6000 is 32 / 64 Bit from the command line? Thanks

    Posted Thu November 16, 2006 11:56 AM

    Originally posted by: SystemAdmin


    That's great, thanks a lot.

    Steve