On the Solaris operating system, the optisa command determines which variant instruction set is optimal to use on the system. The optisa command prints which instruction_set out of the ones specified in the command performs best on this machine. In this case, “best” is defined by the order where instruction set names are returned by isalist.

Syntax

optisa instruction_set

Examples

optisa

Display results similar to the example below.

  • Syntax
  • Examples
  • Related commands
  • Linux commands help

usage: /usr/bin/optisa isalist

Notes

optisa is preferable to “uname -p” or “uname -m” in determining which of several binary versions of given program should be used on the given machine.

isalist — Display the native instruction sets on a Solaris system.uname — Print information about the current system.