machid(1)
NAME
hcx, gcx, m88k, h6024, i386, pdp11, u370, u3b, u3b15, u3b2, u3b5, vax − provide truth value about your processor type
SYNOPSIS
hcx
gcx
m88k
h6024
DESCRIPTION
The following commands will return a true value (exit code of 0) if you are on a HCX, GCX, M88K-based, or Harris 6024 system, respectively:
hcx True if you are on a HCX computer (Series 2000).
gcx True if you are on a GCX computer (Series 1000 or 3000).
m88k True if you are on a M88K-based computer (Series 4000 or 5000).
h6024 True if you are on a Harris 6024 (VOS operating system) computer.
A number of other commands are available representing other vendors’ product lines, including:
i386u3bu3b5
pdp11u3b15vax
u370u3b2
Other commands that do not apply will return a false (non-zero) value. These commands are often used within make(1) makefiles and shell procedures to increase portability.
EXAMPLE
For complete portability, these commands should be used in this way:
if [ -f /bin/m88k ] && /bin/m88k
then
architecture-specific operations
fi
ARCHITECTURE TERMS
HCX, GCX and M88K are terms used to designate a specific architecture. These terms are used in both hard copy and on-line documentation. The table below depicts the relationship of architecture terms to hardware series nomenclature and model numbers. A detailed description of the architecture and related hardware is provided in the paragraphs that follow the table. ArchitectureSeriesModel HCX2000HX2500,HX2550,HX2900
GCX1000,3000HN1201,HN3400,HN3800
M88K4000,5000HN4400,HN4800,HN5800
HCX
HCX refers to an architecture that uses Schottky TTL bit slice technology. The CPU consists of five printed circuit boards. HCX is not part of the Night Hawk family nor is it available in multiprocessor configurations. HCX, or Series 2000 as it may be referred to, is available in three variations or models. These are model numbers HX2500, HX2550 and HX2900. (Note that an early HCX model version called the HCX-7 is sometimes referred to in manuals.) The HX2500 and HX2550 is available in a light brown 34-inch high equipment cabinet. The HX2900 is available in a light brown 43-inch high equipment cabinet.
GCX
The term GCX refers to an architecture that is based on the Motorola MC68030 microprocessor. GCX is a member of the Night Hawk family. GCX is available in two architecture variations, designated Series 1000 and Series 3000. Series 1000 is available in a single or dual processor configuration designated the Model HN1201. The HN1201 may be packaged in a standard 19-inch rack-mountable card nest or in a black 29-inch high equipment cabinet. GCX, or Series 3000 as it may be referred to, is available in two multiprocessor configurations; the HN3400 and HN3800. The HN3400 can contain up to four processors while the HN3800 can contain up to eight processors. The HN3400 may be packaged in a standard 19-inch rack-mountable card nest or in a black 34-inch high equipment cabinet. The HN3800 is available in a black 62-inch high equipment cabinet.
M88K
The term M88K refers to an architecture that is based on the Motorola RISC 32-bit MC88000 family of microprocessors with an integral Floating Point Unit. M88K is a member of the Night Hawk family. M88K is available in two architecture variations, designated Series 4000 and Series 5000. Series 4000 is based on the Motorola RISC 32-bit MC88100 microprocessor. Virtual Memory and cache are provided by a Motorola MC88200 Cache/Memory Management Unit. Series 4000, may be packaged in a standard 19-inch rack-mountable cardnest or in a black 62-inch high equipment cabinet. Series 4000 systems are packaged with the following cpu board configurations: 1 CPU with 32KB cache, 1 CPU with 128KB cache, 2 CPUs with 128KB cache, and 4 CPUs with 128KB cache. Model HN440x systems may contain one cpu board, and model HN480x systems may contain up to four cpu boards, with a maximum of eight cpus per system. Series 5000 is based on the Motorola RISC 32-bit MC88110 microprocessor. Secondary cache is provided by a Motorola MC88410 Cache Controller Unit. Series 5000, may be packaged in a standard 19-inch rack-mountable cardnest or in a black 62-inch high equipment cabinet. Model HN5800 systems may contain one, two, three or four cpu boards. Each cpu board may contain up to two processors, resulting in a maximum of eight processors per system.
SEE ALSO
make(1), sh(1), test(1), true(1).
CX/UX User’s Reference Manual