How To Determine If The Solaris Kernel Is 32- Or 64-bit

Most Solaris recomended patch clusters come in either 32- or 64-bit versions. How do you find out which one is appropriate for your platform? Use the isainfo command.

$ isainfo -b
64
$

The -b option prints the number of bits in the address space of the native instruction set. In this case, 64 bits.

$ isainfo -kv
64-bit sparcv9 kernel modules
$

The -k option prints the name of the instruction set used by the operating system kernel components, i.e. sparcv9; -v provides more detailed information, i.e. 64-bit sparcv9.