NAME

arch - display system machine type

SYNOPSIS

arch [ -k ]

DESCRIPTION

arch displays the current system architecture type. It tends to be equivilent to uname -m (except on SunOS platforms, see NOTES).

OPTIONS

-k Displays kernel architecture on SunOS platforms.

NOTES

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.

HISTORY

Perl version rewritten for the Perl Power Tools project from the description of the arch program in OpenBSD.

AUTHOR

Theo Van Dinter (felicity@kluge.net)

SEE ALSO

uname(1) uname(2) machine(1)