- describe instruction set architectures
isainfo [ [-v] [-b | -n | -k] | [-x]]
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 names 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 environments supported by the currently running system.
The following options are supported:
Prints the number of bits in the address space of the native instruction set.
Prints the name of the instruction set(s) used by the operating system kernel components such as device drivers and STREAMS modules.
Prints the name of the native instruction set used by portable applications supported by the current version of the operating system.
When used with the -b, -k or -n options, prints more detailed information.
Prints instruction extensions to the native ABI which are supported by the platform.
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
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.
See attributes(5) for descriptions of the following attributes: