Determine if Solaris is Running in 32 or 64 Bit Mode

Posted September 14, 2004 by Quinn McHenry in Solaris system administration

The isainfo command can be used to determine if a Solaris system has been configured to run in 32 or 64 bit mode.


Run the the following command:

isainfo -v

If the system is running in 32 bit mode, you will see output as follows:

32-bit sparc applications

On a 64 bit Solaris system, you will see the following:

64-bit sparcv9 applications
32-bit sparc applications

 

About Quinn McHenry

Quinn was one of the original co-founders of Tech-Recipes. He is currently crafting iOS applications as a senior developer at Small Planet Digital in Brooklyn, New York.
View more articles by Quinn McHenry

The Conversation

Follow the reactions below and share your own thoughts.

  • http://twitter.com/ryoku Hannes Bauer

    very helpfuk, thanks

  • Mike

    thanks i was looking for this

  • Anonymous

    Awesome… found this thread at a very crutial time.

    Regards
    Monu Koshy

  • Subhashini

    good to know.

  • Shejwal Sneha

    isainfo -kv

  • Csbreddy

    bash-3.00# isainfo
    amd64 i386

    bash-3.00# isainfo -kv
    64-bit amd64 kernel modules

    bash-3.00# isainfo -nv
    64-bit amd64 applications
    cx16 mon sse3 sse2 sse fxsr mmx cmov amd_sysc cx8 tsc fpu

    bash-3.00# isainfo -b
    64

  • Csbreddy

    /usr/bin/isainfo -kv

    If your OS is 64-bit, you will see output like:

    64-bit sparcv9 kernel modules

    If your OS is 32-bit, you will get this output:

    32-bit sparc kernel modules

  • Rob

    Thanks, this answered our question!

  • Aashish Powale

    You can also use option “isainfo -kv” it will show below output if its 64bit.
    64-bit sparcv9 kernel modules

  • ngea mouen daniel

    Which Unix command to use for drop the bad solaris installation

  • Jack Sparrow

    I got this following output when i ran the above command.

    64-bit amd64 applications
    pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr
    mmx cmov amd_sysc cx8 tsc fpu
    32-bit i386 applications
    pclmulqdq aes sse4.2 sse4.1 ssse3 popcnt tscp cx16 sse3 sse2 sse fxsr
    mmx cmov sep cx8 tsc fpu

    What i am supposed to understand by this…..

  • ceving

    What if I see both?

  • ghassen

    I Have both ouput :(
    isainfo -v
    64-bit sparcv9 applications
    vis2 vis
    32-bit sparc applications
    vis2 vis v8plus div32 mul32