arch - display system machine type
arch displays the current system architecture type.
It tends to be equivilent to
uname -m (except on SunOS platforms,
-k Displays kernel architecture on SunOS platforms.
SunOS tends to differentiate between kernel and system architecture. uname -m will return kernel architecture. System architecture is the same information except it doesn't include the trailing alpha chars. I.e.: 'sun4m' (kernel) = 'sun4' (system), 'sun3x' = 'sun3', etc, etc.
Perl version rewritten for the Perl Power Tools project from the description of the arch program in OpenBSD.
Theo Van Dinter (email@example.com)
uname(1) uname(2) machine(1)