Go to main content

man pages section 1: User Commands

Exit Print View

Updated: Wednesday, February 10, 2021
 
 

optisa(1)

Name

optisa - determine which variant instruction set is optimal to use

Synopsis

optisa instruction_set...

Description

optisa prints which instruction_set out of the ones specified in the command will perform best on this machine. In this case, “best” is defined by the order in which instruction set names are returned by isalist(1). Possible values for instruction_set are given in isalist(7).

This command is obsolete and may be removed in a future version of Solaris. See isainfo(1) for a better way to handle instruction set extensions.

Exit Status

The following exit values are returned:

0

One of the instruction_set values you specified is printed by this command.

1

There is no output; that is, this machine cannot use any instruction_set that you specified with the optisa command.

Attributes

See attributes(7) for descriptions of the following attributes:

ATTRIBUTE TYPE
ATTRIBUTE VALUE
Availability
legacy/isalist
Interface Stability
Obsolete

See Also

isalist(1), uname(1), attributes(7), isalist(7)

Notes

optisa is preferable to uname –p or uname –m (see uname(1)) in determining which of several binary versions of a given program should be used on the given machine.