machid(1) machid(1)
NAME
machid: a20r, cpl, i286, i386, i486, m120, m68k, mips, pdp11, rm200,
rm300, rm400, rm600, rm700, sparc, t4600, u370, u3b15, u3b2, u3b5,
u3b, vax - get processor type truth value
SYNOPSIS
a20r
cpl
i286
i386
i486
m120
m68k
mips
pdp11
rm200
rm300
rm400
rm600
rm700
sparc
t4600
u370
u3b15
u3b2
u3b5
u3b
vax
DESCRIPTION
The following commands will return a true value (exit code of 0) if
you are on a processor that the command name indicates.
a20r True if you are on an RM200, RM300, RM400 computer.
cpl True if you are on an RM600-xx computer.
i286 True if you are on an Intel 80286 computer.
i386 True if you are on an Intel 80386 computer.
i486 True if you are on an Intel 80486 computer.
m120 True if you are on a Pyramid single-processor MIPS computer.
m68k True if you are on a Motorola 68xxx computer.
mips True if you are on a computer with MIPS processor.
pdp11 True if you are on a PDP-11/45 or -11/70 computer.
rm200 True if you are on an RM200 computer.
Page 1 Reliant UNIX 5.44 Printed 11/98
machid(1) machid(1)
rm300 True if you are on an RM300 computer.
rm400 True if you are on an RM400 computer.
rm600 True if you are on an RM600-xx computer.
rm700 True if you are on an RM600-xxx computer.
sparc True if you are on a Sun computer with SPARC processor.
t4600 True if you are on an RM600-xx computer.
u370 True if you are on an IBM System/370 computer.
u3b15 True if you are on a 3B15 computer.
u3b2 True if you are on a 3B2 computer.
u3b5 True if you are on a 3B5 computer.
u3b True if you are on a 3B20 computer.
vax True if you are on a VAX-11/750 or -11/780 computer.
The commands that do not apply will return a false (non-zero) value.
These commands are often used within makefiles [see make(1)] and shell
procedures [see sh(1)] to increase portability.
SEE ALSO
make(1), sh(1), test(1), true(1), uname(1).
Page 2 Reliant UNIX 5.44 Printed 11/98