1 | .\" -*- nroff -*- mode |
---|
2 | .\" $Source: /afs/dev.mit.edu/source/repository/athena/bin/machtype/machtype.1,v $ |
---|
3 | .\" $Author: probe $ |
---|
4 | .\" $Header: /afs/dev.mit.edu/source/repository/athena/bin/machtype/machtype.1,v 1.4 1989-11-16 05:59:01 probe Exp $ |
---|
5 | |
---|
6 | .TH MACHTYPE 1 "Setpember 6 1989" |
---|
7 | .SH NAME |
---|
8 | machtype \- Print machine type to standard output |
---|
9 | .SH SYNOPSIS |
---|
10 | .B machtype |
---|
11 | [-c] [-d] [-r] [-M] [-v] [-k kernel] [-m memory] |
---|
12 | .SH DESCRIPTION |
---|
13 | .I Machtype |
---|
14 | prints the CPU type to standard output. It prints "vax" when run on a |
---|
15 | VAX processor, "rt" when run on an IBM RT/PC workstation, and "decmips" |
---|
16 | when run on a DECstation 3100 (pmax). |
---|
17 | .TP |
---|
18 | .B -c |
---|
19 | Print the specific cpu type, one of VAX780, VAX750, VAX730, VAX8600, |
---|
20 | VAX8200, MVAX-II, VAXSTAR, CVAXSTAR, or VAX650 (on a VAX), RTPC-ROMPC, |
---|
21 | RTPC-SGP, RTPC-MOD135, or IBM-ATR (on an IBM RT/PC), or KN01 (on a pmax). |
---|
22 | .TP |
---|
23 | .B -d |
---|
24 | Print the types of display heads attached to the system, one or more |
---|
25 | of QVSS, QDSS, SM, SG, PLX, or VS100 (VAX), apa16, aed, apa8, plx, or mpel |
---|
26 | (RT), or PM-MONO or PM-COLOR (pmax). |
---|
27 | .TP |
---|
28 | .B -r |
---|
29 | Print the types of any disk drives attached will be printed, one to a |
---|
30 | line, as in "ra0: RD53". |
---|
31 | .TP |
---|
32 | .B -M |
---|
33 | Print the physical memory present (in hex). |
---|
34 | .TP |
---|
35 | .B -k |
---|
36 | Override the default kernel: |
---|
37 | .I /vmunix. |
---|
38 | .TP |
---|
39 | .B -m |
---|
40 | Override the default memory: |
---|
41 | .I /dev/kmem |
---|
42 | used to look up the specific cpu type, displays, and disk drives. |
---|
43 | .TP |
---|
44 | .B -v |
---|
45 | Verbose output (suitable for humans to read, instead of computers). |
---|
46 | .PP |
---|
47 | .I Machtype |
---|
48 | is useful for conditionalizing shell scripts, .login files, etc. in an |
---|
49 | environment that contains filesystems shared across several different |
---|
50 | architectures. |
---|
51 | .PP |
---|
52 | .SH EXAMPLE |
---|
53 | To set your search path for commands in your .login file to include a |
---|
54 | machine-specific directory in your home directory. |
---|
55 | .PP |
---|
56 | set path=(~/`machtype`Bin $path) |
---|
57 | .SH SEE ALSO |
---|
58 | csh(1) |
---|
59 | .SH BUGS |
---|
60 | Disk types can not be read for rd disk drives (i.e. on the VAXstation |
---|
61 | 2000), or for SCSI drives on the IBM RT/PC. |
---|