Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!husc6!bbn!uwmcsd1!vanvleck!uwvax!oddjob!mimsy!umd5!decuac!felix!zemon From: barnett@steinmetz.UUCP (Bruce G Barnett) Newsgroups: comp.unix.ultrix Subject: Re: Shell script to determine CPU Message-ID: <9356@felix.UUCP> Date: Mon, 12-Oct-87 11:56:21 EDT Article-I.D.: felix.9356 Posted: Mon Oct 12 11:56:21 1987 Date-Received: Wed, 14-Oct-87 01:56:07 EDT References: <8328@felix.UUCP> Sender: zemon@felix.UUCP Reply-To: barnett@steinmetz.UUCP (Bruce G Barnett) Organization: General Electric CRD, Schenectady, NY Lines: 14 Approved: zemon@felix.UUCP (Art Zemon) Suns have a program called '/bin/arch' that returns the CPU type (e.g. sun2, sun3, sun4). You or your sysadmin could create one on your vaxen. You could also test for the existance of the program, and if not there - assume a vax. Oh - the program arch for a vax would be echo "vax" -- Bruce G. Barnett uunet!steinmetz!barnett