ARCH(1) — USER COMMANDS
NAME
arch − display the architecture of the current host
SYNOPSIS
arch
arch −k
archname
DESCRIPTION
arch displays the application architecture of the current host system.
Solbourne systems can be broadly classified by their architectures, which define what executables will run on which machines. A distinction can be made between kernel architecture and application architecture (or, commonly, just “architecture”). Machines that run different kernels due to underlying hardware differences may be able to run the same application programs.
Executing arch will display the application architecture of the machine. All machines of the same application architecture will execute the same application programs, or user binaries.
Current Architectures
| Application architecture | Kernel architecture | Current Solbourne Models |
| sun4 | Series5 | 5/500, 5/600, 5E/900, 5/700 |
| sun4 | S4000 | S4000, S3000 |
| sun4 | Series6 | 6/700, 6/900 |
OPTIONS
−k Display the kernel architecture, such as Series5, Series6, or S4000. This defines which specific OS/MP kernel will run on the machine, and has implications only for programs that depend on the kernel explicitly (for example, ps(1), vmstat(8), etc.).
archname Return “true” (exit status 0) if application binaries for archname can run on the current host system, otherwise, return “false” (exit status 1). This is the preferred method for installation scripts to determine the environment of the host machine; that is, which architecture of a multi-architecture release to install on this machine. archname must be a valid application architecture.
SEE ALSO
OS/MP Release Notes
Solbourne Computer, Inc. — 29 Dec 1993