Wednesday, August 5, 2009

How to determine a Solaris OS is 32 bits or 64 bits by using isainfo

isainfo command can be used to determine whether a Solaris system has 32–bit or 64-bit capabilities enabled.

Option

Note

Examples on SPARC system

Display the name or names of the native instruction sets for applications supported by the current OS version.

$ isainfo

sparcv9 sparc

-v

Prints detailed information about the other options

$ isainfo -v

64-bit sparcv9 applications
        vis2 vis
32-bit sparc applications
        vis2 vis v8plus div32 mul32

$ isainfo -v
32-bit sparc applications

-b

Prints the number of bits in the address space of the native instruction set.

$ isainfo -b

64

-n

Prints the name of the native instruction set used by portable applications supported by the current version of the OS.

$ isainfo -n

sparcv9

-k

Prints the name of the instruction set or sets that are used by the OS kernel components such as device drivers and STREAMS modules.

$ isainfo -k

sparcv9

Last updated: August 5, 2009

No comments:

Post a Comment