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

Revision 8768, 2.5 KB checked in by cfields, 28 years ago (diff)
Make -N and -E more accurate.
Line 
1.\"     -*- nroff -*- mode
2.\"     $Source: /afs/dev.mit.edu/source/repository/athena/bin/machtype/machtype.1,v $
3.\"     $Author: cfields $
4.\"     $Header: /afs/dev.mit.edu/source/repository/athena/bin/machtype/machtype.1,v 1.15 1996-08-20 19:30:56 cfields Exp $
5.TH MACHTYPE 1 "May 14 1996"
6.SH NAME
7machtype \- Print machine type to standard output
8.SH SYNOPSIS
9.B machtype
10[-c] [-d] [-r] [-M] [-v] [-A] [-L] [-P] [-N] [-E] [-S] [-k kernel] [-m memory]
11.SH DESCRIPTION
12.I Machtype
13prints the CPU type to standard output.  It prints "sun4" when run on a
14Sun and "sgi" when run on an SGI.
15.TP
16.B -c
17Print the specific cpu type (e.g. SPARC/5 or IP22).
18.TP
19.B -d
20Print the types of display attached to the system (e.g.  "cgthree").
21.TP
22.B -r
23Print the types of any disk drives attached to the syystem, one to a
24line, as in "SUN0535".
25.TP
26.B -M
27Print the physical memory present (in hex).
28.TP
29.B -k
30Override the default kernel:
31.I /vmunix.
32.TP
33.B -m
34Override the default memory:
35.I /dev/kmem
36used to look up the specific cpu type, displays, and disk drives.
37.TP
38.B -v
39Verbose output (suitable for humans to read, instead of computers).
40.TP
41.B -A
42Print out the release that machtype was compiled under.
43.TP
44.B -P
45Print out the version of the Athena system packs attached, from
46.I /srvd/.rvdinfo
47.TP
48.B -L
49Print out the version of Athena installed on the local system from
50.I /etc/athena/version.
51.TP
52.B -N
53Print out the name of the base operating system machtype was compiled
54under; if used with the "-v" flag, the version number of the OS will
55be included as well.  Current values for the name of the base OS are
56"SunOS" and "IRIX".
57.TP
58.B -E
59Print out the version number of the base operating system machtype was
60compiled under.
61.TP
62.B -S
63Print out the "Athena System" name for the current architecture. This
64value is normally stored in the environment variable ATHENA_SYS, and
65ideally corresponds to the AFS system name for the same machine
66assuming the machine were running AFS. This value is used in the Athena
67environment as part of a scheme for laying out filesystems containing
68binaries for multiple architectures. See \fIlockers\fR(7) for more
69information.
70.PP
71.I Machtype
72is useful for conditionalizing shell scripts, .login files, etc. in an
73environment that contains filesystems shared across several different
74architectures.
75.SH SEE ALSO
76csh(1), lockers(7)
77.SH BUGS
78Prints "UNKNOWN video" when given the -d option on an SGI, since we
79don't currently know how to find the display hardware on an SGI.
Note: See TracBrowser for help on using the repository browser.