Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

optisa(1) [hpux man page]

optisa(1)                                                          User Commands                                                         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(5). ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ 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. SEE ALSO
isalist(1), uname(1), attributes(5), isalist(5) 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. SunOS 5.10 25 Jul 1997 optisa(1)

Check Out this Related Man Page

isainfo(1)                                                         User Commands                                                        isainfo(1)

NAME
isainfo - describe instruction set architectures SYNOPSIS
isainfo [ [-v] [-b | -n | -k] | [-x]] DESCRIPTION
The isainfo utility is used to identify various attributes of the instruction set architectures supported on the currently running system. Among the questions it can answer are whether 64-bit applications are supported, or whether the running kernel uses 32-bit or 64-bit device drivers. When invoked with no options, isainfo prints the name(s) of the native instruction sets for applications supported by the current version of the operating system. These are a subset of the list returned by isalist(1). The subset corresponds to the basic applications environ- ments supported by the currently running system. OPTIONS
The following options are supported: -b Prints the number of bits in the address space of the native instruction set. -k Prints the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS mod- ules. -n Prints the name of the native instruction set used by portable applications supported by the current version of the operating sys- tem. -v When used with the- b, -k or -n options, prints more detailed information. -x Prints instruction extensions to the native ABI which are supported by the platform. EXAMPLES
Example 1: Invoking isainfo on a 32-bit x86 Platform The following example invokes isainfo on a 32-bit x86 platform: example% isainfo -v 32-bit i386 applications example% isainfo -k i386 Example 2: Invoking isainfo on a System Running the 64-bit Operating System on a 64-bit SPARC Processor The following example invokes isainfo on a system running the 64-bit operating system on a 64-bit SPARC processor: example% isainfo sparcv9 sparc example% isainfo -n sparcv9 example% isainfo -v 64-bit sparcv9 applications 32-bit sparc applications example% isainfo -vk 64-bit sparcv9 kernel modules Example 3: Invoking isainfo -x on an AMD Opteron CPU The following example invokes isainfo with the -x option on an AMD Opteron CPU: example% isainfo -x i386: fpu tsc cx8 sep cmov mmx ammx a3dnow a3dnowx fxsr sse sse2 pause EXIT STATUS
Non-zero Options are not specified correctly, or the command is unable to recognize attributes of the system on which it is running. An error message is printed to stderr. ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWcsu | +-----------------------------+-----------------------------+ SEE ALSO
isalist(1), uname(1), psrinfo(1M), sysinfo(2), attributes(5), isalist(5) SunOS 5.10 20 Jul 2004 isainfo(1)
Man Page