[comp.unix.wizards] Determining VAX cpu type

daveh@marob.MASA.COM (Dave Hammond) (12/10/88)

As relates to VAXen running BSD4.2+ and derivitives (Ultrix, Xinu, etc):

We would like to be able to determine what type of VAX processor a
program is currently executing on (e.g. a MicroVAX, 8600 series, 8800 series,
etc.).  A dim recollection pointed to gethostbyname(), et.al., but a re-RTFM
doesn't confirm this recollection.

Any pointers on how to do this in a _reasonably_ portable way (amongst BSD-
derivitives) would be appreciated.

Please respond via e-mail unless group discussion seems appropriate.

Dave Hammond
  UUCP: ...!uunet!masa.com!{marob,dsix2}!daveh
DOMAIN: daveh@marob.masa.com
----------------------------------------------------------------------------