How to check Solaris kernel is 32bit or 64 bit

How to Check Solaris Kernel bit (32 bit/64 bit)

To check if Solaris kernel is running in 32 bit mode or 64 bit from command line run the following:

# /usr/bin/isainfo –kv

64-bit sparcv9 kernel modules

The output “64 bit sparcv9” indicates that Solaris kernel is running in 64 bit mode. Here is the output of Solaris kernel running in 32 bit:

# /usr/bin/isainfo –kv

32-bit sparcv9 kernel modules

4>How to check Solaris kernel on x86 (Intel) platform :

# uname –m

i86pc

# /usr/bin/isainfo -kv

32-bit i386 kernel modules

In the example above Solaris Kernel is running in 32 bit on intel platform, printed as “32-bit” in the output.

4>How to check if Solaris kernel is configured to boot in 32 bit or 64:


The system is configured to boot the 64-bit kernel if the output from the eeprom command is either:

# /usr/sbin/eeprom | grep boot-file

boot-file: data not available

or

boot-file=kernel/sparcv9/unix

else if Solaris system is configured to boot using 32-bit kernel, the output from the eeprom command comes back as:

kernel/unix

Leave a Reply

Your email address will not be published. Required fields are marked *

CAPTCHA * Time limit is exhausted. Please reload the CAPTCHA.

This site uses Akismet to reduce spam. Learn how your comment data is processed.