source: trunk/athena/bin/machtype/machtype.1 @ 2330

Revision 2330, 1.9 KB checked in by probe, 35 years ago (diff)
Documentation for jfc's new 'machtype' (more device support, more options).
Line 
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
8machtype \- 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
14prints the CPU type to standard output.  It prints "vax" when run on a
15VAX processor, "rt" when run on an IBM RT/PC workstation, and "decmips"
16when run on a DECstation 3100 (pmax).
17.TP
18.B -c
19Print the specific cpu type, one of VAX780, VAX750, VAX730, VAX8600,
20VAX8200, MVAX-II, VAXSTAR, CVAXSTAR, or VAX650 (on a VAX), RTPC-ROMPC,
21RTPC-SGP, RTPC-MOD135, or IBM-ATR (on an IBM RT/PC), or KN01 (on a pmax).
22.TP
23.B -d
24Print the types of display heads attached to the system, one or more
25of 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
29Print the types of any disk drives attached will be printed, one to a
30line, as in "ra0: RD53".
31.TP
32.B -M
33Print the physical memory present (in hex).
34.TP
35.B -k
36Override the default kernel:
37.I /vmunix.
38.TP
39.B -m
40Override the default memory:
41.I /dev/kmem
42used to look up the specific cpu type, displays, and disk drives.
43.TP
44.B -v
45Verbose output (suitable for humans to read, instead of computers).
46.PP
47.I Machtype
48is useful for conditionalizing shell scripts, .login files, etc. in an
49environment that contains filesystems shared across several different
50architectures.
51.PP
52.SH EXAMPLE
53To set your search path for commands in your .login file to include a
54machine-specific directory in your home directory.
55.PP
56set path=(~/`machtype`Bin $path)
57.SH SEE ALSO
58csh(1)
59.SH BUGS
60Disk types can not be read for rd disk drives (i.e. on the VAXstation
612000), or for SCSI drives on the IBM RT/PC.
Note: See TracBrowser for help on using the repository browser.