Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ machtype(1) — Duplix 4.1

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

dmesg(8)

MACHTYPE(1)  —  Unix Programmer’s Manual

NAME

machtype − print a synopsis of the hardware and software

SYNOPSIS

machtype [ arg ] [ TRUE / FALSE ]

DESCRIPTION

Machtype prints a summary of your computer’s hardware and software configurations.  Using string comparisons, machtype determines

• the CPU speed
• the CPU type
• the coprocessor type, if any
• the bus type
• whether or not the system supports graphics
• whether or not the system is a cluster
• whether or not the system is a diskless node
• whether or not the system supports TRFS
• whether or not the system supports NFS
• whether or not the system supports System V UNIX

Without arguments, machtype prints all this information on the standard output.  (See the example below.) 

If the user asks machtype about just one part of the system, machtype prints information on that part only. 

The user can verify the value of any argument by typing on the command line:

machtype arg value

In the example below, the user verified that the system CPU was a 68020 by typing machtype CPU 68020.  When the value of an argument is true or false, as with the TRFS, NFS, and System V arguments, machtype tells whether the value you’ve typed is true or false.  If your system does not support NFS, and you typed

machtype NFS FALSE

machtype responds with

TRUE

because it is true that your system does not support NFS.

NOTE:  Be sure to capitalize all the variables and values you type on the command line to machtype.  machtype recognizes FALSE, but not false, and TRUE, but not true. 

/etc/rc.local runs machtype to configure the system at boot time. 

EXAMPLE

%1 machtype
SPEED16.67
CPU68020
COPROCESSORNONE
BUS  VMEBUS
GRAPHICS  TRUE
CLUSTERFALSE
DISKLESSFALSE
TRFSTRUE
NFSFALSE
SYSVFALSE
%2 machtype CPU
68020
%3 machtype CPU 68020
TRUE
%4 machtype CPU 68010
FALSE

In the example above, the user typed machtype without options at a C shell prompt (%1), and machtype printed its sketch of the system configuration.  When the user specified the argument CPU at the second C shell prompt, machtype printed just the CPU type of the system and nothing more.  At the third C shell prompt, the user asked whether the system CPU was a 68020, and machtype replied TRUE.  Then the user asked machtype whether the CPU were a 68010.  machtype, replied FALSE because the CPU is a 68020, not a 68010. 

FILES

/bin/machtype

SEE ALSO

dmesg(8)

INTEGRATED SOLUTIONS 4.3 BSD  —  August 6, 1987

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026