Run the command
isainfo -v
If the system is running in 32 bit mode, you will see the following output:
32-bit sparc applications
On a 64 bit Solaris system, you’ll see:
oracle@ids01 $ isainfo -v
64-bit sparcv9 applications
32-bit sparc applications
NAME
isainfo – describe instruction set architectures
SYNOPSIS
isainfo [ -v ] [ -b -n -k ]
DESCRIPTION
The isainfo utility is used to identify various attributes
of the instruction set architectures supported on the
currently running system. Among the questions it can answer
are whether 64-bit applications are supported, or whether
the running kernel uses 32-bit or 64-bit device drivers.
When invoked with no flags, isainfo prints the name(s) of
the native instruction sets for applications supported by
the current version of the operating system. These will be a
subset of the list returned by isalist(1). The subset
corresponds to the basic applications environments supported
by the currently running system.