Tuesday, June 17, 2008

Determining version of Solaris

Ever wonder if you are running Solaris 32 or 64 bits ? You can find out with isainfo command.

[root@xxxxxx:/root]
#isainfo
sparcv9 sparc

sparcv9 means you are running 64bits version of the OS. To make sure, use :
#isainfo -b
64

This gives you the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS modules.

This command also gives you if your system runs 32 and 64 bits apps :
#isainfo -v
64-bit sparcv9 applications
32-bit sparc applications