[683] | 1 | .\" -*- nroff -*- mode |
---|
| 2 | .\" $Source: /afs/dev.mit.edu/source/repository/athena/bin/machtype/machtype.1,v $ |
---|
[11915] | 3 | .\" $Author: ghudson $ |
---|
[11929] | 4 | .\" $Header: /afs/dev.mit.edu/source/repository/athena/bin/machtype/machtype.1,v 1.20 1998-09-12 00:17:32 ghudson Exp $ |
---|
[8404] | 5 | .TH MACHTYPE 1 "May 14 1996" |
---|
[683] | 6 | .SH NAME |
---|
| 7 | machtype \- Print machine type to standard output |
---|
| 8 | .SH SYNOPSIS |
---|
| 9 | .B machtype |
---|
[11929] | 10 | [-c] [-d] [-r] [-M] [-v] [-A] [-L] [-P] [-N] [-E] [-S] [-C] |
---|
[683] | 11 | .SH DESCRIPTION |
---|
| 12 | .I Machtype |
---|
[8404] | 13 | prints the CPU type to standard output. It prints "sun4" when run on a |
---|
| 14 | Sun and "sgi" when run on an SGI. |
---|
[2330] | 15 | .TP |
---|
[684] | 16 | .B -c |
---|
[8404] | 17 | Print the specific cpu type (e.g. SPARC/5 or IP22). |
---|
[2330] | 18 | .TP |
---|
[684] | 19 | .B -d |
---|
[8404] | 20 | Print the types of display attached to the system (e.g. "cgthree"). |
---|
[2330] | 21 | .TP |
---|
[771] | 22 | .B -r |
---|
[11915] | 23 | Print the types of any disk drives attached to the system, one to a |
---|
[8404] | 24 | line, as in "SUN0535". |
---|
[2330] | 25 | .TP |
---|
| 26 | .B -M |
---|
[11915] | 27 | Print the physical memory present, in kilobytes. |
---|
[2330] | 28 | .TP |
---|
| 29 | .B -v |
---|
| 30 | Verbose output (suitable for humans to read, instead of computers). |
---|
[5939] | 31 | .TP |
---|
| 32 | .B -A |
---|
| 33 | Print out the release that machtype was compiled under. |
---|
| 34 | .TP |
---|
| 35 | .B -P |
---|
| 36 | Print out the version of the Athena system packs attached, from |
---|
| 37 | .I /srvd/.rvdinfo |
---|
| 38 | .TP |
---|
| 39 | .B -L |
---|
| 40 | Print out the version of Athena installed on the local system from |
---|
| 41 | .I /etc/athena/version. |
---|
[6005] | 42 | .TP |
---|
| 43 | .B -N |
---|
[8768] | 44 | Print out the name of the base operating system machtype was compiled |
---|
| 45 | under; if used with the "-v" flag, the version number of the OS will |
---|
| 46 | be included as well. Current values for the name of the base OS are |
---|
| 47 | "SunOS" and "IRIX". |
---|
[6005] | 48 | .TP |
---|
| 49 | .B -E |
---|
[8768] | 50 | Print out the version number of the base operating system machtype was |
---|
| 51 | compiled under. |
---|
[7855] | 52 | .TP |
---|
| 53 | .B -S |
---|
| 54 | Print out the "Athena System" name for the current architecture. This |
---|
| 55 | value is normally stored in the environment variable ATHENA_SYS, and |
---|
| 56 | ideally corresponds to the AFS system name for the same machine |
---|
| 57 | assuming the machine were running AFS. This value is used in the Athena |
---|
| 58 | environment as part of a scheme for laying out filesystems containing |
---|
| 59 | binaries for multiple architectures. See \fIlockers\fR(7) for more |
---|
| 60 | information. |
---|
[11418] | 61 | .TP |
---|
| 62 | .B -C |
---|
| 63 | Print out a colon-separated list of "Athena System" names that are |
---|
| 64 | compatible with the current architecture. This value is normally |
---|
| 65 | stored in the environment variable ATHENA_SYS_COMPAT, and is used by |
---|
| 66 | \fIathdir\fR(1) and \fIadd\fR(1) as a set of fallback values when a |
---|
| 67 | locker doesn't have binaries for the actual Athena System name. |
---|
[683] | 68 | .PP |
---|
| 69 | .I Machtype |
---|
| 70 | is useful for conditionalizing shell scripts, .login files, etc. in an |
---|
| 71 | environment that contains filesystems shared across several different |
---|
| 72 | architectures. |
---|
| 73 | .SH SEE ALSO |
---|
[7855] | 74 | csh(1), lockers(7) |
---|