[NCLUG] simple way to determine 32 or 64 bit?

thorson at aster.com thorson at aster.com
Mon Jun 11 14:26:47 MDT 2001


On Mon, 11 Jun 2001, Mike Loseke wrote:

>  In that my fears that it will be different on every architecture look to
> be true, yes. :-) Thanks.
>
>  For the Solaris-impaired, "isainfo -v" on a 64-bit machine returns:
>
> # isainfo -v
> 64-bit sparcv9 applications
> 32-bit sparc applications
>
>  And a 32-bit machine:
>
> # isainfo -v
> 32-bit sparc applications
>
>  So you can kinda see what I was hoping for (like cat/proc/kernel/bit or
> something).

Can you determine something from uname?  I just tried
uname on our Sun and got this:

   $ uname -m
   sun4u

Does that imply 64-bit?  It is supposed to be the hardware type.
Try it on your machines.

Bill




More information about the NCLUG mailing list