How do you identify VAX/PMAX cpu's from software?

M.R.Murphy mrm at sceard.COM
Fri Jun 2 00:10:08 AEST 1989


In article <743 at dinorah.wustl.edu> art at dinorah.wustl.edu (Arthur B. Smith) writes:
!In article <1241 at riscy.dec.com>, frank at croton.DEC.COM (Frank Wortner) writes:
!> In article <7005 at cbmvax.UUCP>, grr at cbmvax.UUCP (George Robbins) writes:
!> 
!> Unfortunately, /etc/sizer does not exist on DECstation 3100 (PMAX), since 
!> the program is VAX-specific.
!> 
!> Distinguishing a VAX from a PMAX can probably be best done at compile 
!> time.
[many lines deleted in the interest of bandwidth]

What you do is look at the front panel of the computer (or the invoice
for the system) and then write a shell script /etc/what_kind_of_system_this_is
that echos said information. This then has the advantage of being able to
be run on lots of different kinds of systems. Even to be extended to the
determination of cabinet configuration, color, or line voltage...

Why, the concept can even be used in (shudder) VMS. The design of the format
for the information from the script is left as an excercise for the reader.

:-)
---
Mike Murphy  Sceard Systems, Inc.  544 South Pacific St. San Marcos, CA  92069
mrm at Sceard.COM        {hp-sdd,nosc,ucsd,uunet}!sceard!mrm      +1 619 471 0655



More information about the Comp.unix.ultrix mailing list