2 .\" Copyright 1993 Rickard E. Faith (faith@cs.unc.edu)
3 .\" Public domain: may be freely distributed.
4 .TH ARCH 1 "4 July 1997" "Linux 2.0" "Linux Programmer's Manual"
6 arch \- print machine architecture
11 is deprecated command since release util-linux 2.13. Use
15 from the coreutils package.
17 On current Linux systems,
19 prints things such as "i386", "i486", "i586", "alpha", "sparc",
20 "arm", "m68k", "mips", "ppc".
25 The arch command is part of the util-linux-ng package and is available from
26 ftp://ftp.kernel.org/pub/linux/utils/util-linux-ng/.
29 .\" arch prints the machine part of the system_utsname struct
30 .\" This struct is defined in version.c, and this field is
31 .\" initialized with UTS_MACHINE, which is defined as $ARCH
32 .\" in the main Makefile.
33 .\" That gives the possibilities
34 .\" alpha arm i386 m68k mips ppc sparc sparc64
36 .\" If Makefile is not edited, ARCH is guessed by
37 .\" ARCH := $(shell uname -m | sed -e s/i.86/i386/ -e s/sun4u/sparc64/)
38 .\" Then how come we get these i586 values?
39 .\" Well, the routine check_bugs() does system_utsname.machine[1] = '0' + x86;
40 .\" (called in init/main.c, defined in ./include/asm-i386/bugs.h)