Pages

Monday, July 9, 2012

Identifying hardware architecture in Solaris

If you ever need to identify your current hardware architecture in Solaris then isainfo may be the right tool:

# isainfo
sparcv9 sparc

OK, the above output doesn't show too much information, but isainfo can more:

# isainfo -b
64

This shows the adressable space or to say it more common: the -b option shows if you are running a 32Bit or a 64Bit system.
With the -k, -n and the -x you can display various instruction sets which are supported:

# isainfo -k
sparcv9
# isainfo -n
sparcv9
# isainfo -x
sparcv9: vis
sparc: vis v8plus div32 mul32

In most cases it is useful to use the -v option for verbose output:

# isainfo -v
64-bit sparcv9 applications
        vis
32-bit sparc applications
        vis v8plus div32 mul32

No comments:

Post a Comment