brian d foy > PerlPowerTools-1.003 > arch

Download:
PerlPowerTools-1.003.tar.gz

Annotate this POD

CPAN RT

Open  1
View/Report Bugs
Source  

Name: arch Description: display system machine type Author: Theo Van Dinter, felicity@kluge.net License:

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)

syntax highlighting: