System Administration Guide: Advanced Administration

How to Determine If a System Has 64-bit Solaris Capabilities Enabled

Use the isainfo command to determine if a system has 64-bit capabilities enabled, which means that the system is booted with the 64–bit kernel.

Examples—Determining If a System Has 64–bit Solaris Capabilities Enabled

The output for an UltraSPARC system running a 32-bit kernel appears as follows:


$ isainfo -v
32-bit sparc applications

This output means that this system is capable of supporting only 32-bit applications.

The output for an UltraSPARC system running a 64-bit kernel appears as follows:


 $ isainfo -v
64-bit sparcv9 applications 
32-bit sparc applications

This output means that this system is capable of supporting both 32-bit and 64-bit applications.

Use the isainfo -b command to display the number of bits supported by native applications on the running system.

The output from a SPARC, IA, or UltraSPARC system running the 32–bit Solaris operating environment appears as follows:


$ isainfo -b
32  

The output from a 64–bit UltraSPARC system running the 64–bit Solaris operating environment appears as follows:


$ isainfo -b
64

The command returns 64 only. Even though a 64–bit UltraSPARC system is capable of running both types of applications, 64–bit applications are the best kind of applications to run on a 64–bit system.