Path: utzoo!attcan!uunet!mailrus!cs.utexas.edu!rice!sun-spots-request From: kodak!ektools!dcox@cs.rochester.edu (Don Cox) Newsgroups: comp.sys.sun Subject: What type system am I on? Keywords: Source Message-ID: <8630@brazos.Rice.edu> Date: 6 Jun 90 17:16:04 GMT Sender: root@rice.edu Organization: Sun-Spots Lines: 22 Approved: Sun-Spots@rice.edu X-Refs: Related: v8n202 X-Sun-Spots-Digest: Volume 9, Issue 203, message 10 I am writing a shell script that has to distinguish between a Sun4/260 and a Sun4/490. The 'arch' command returns 'sun4' on both machines. Is there a way, other than motd, that I can type the same command on either machine and know which type Sun4 machine I am on? Thanks. [[Ed's Note: A shell script was posted in v8n202 which could be used to tell the type of the machine that the command was invoked from. At the time, it was out of date (didn't support the Sparc machines) so I imagine that it's still out of date, however, it would probably be a good starting point if nothing else. -bdg]] FTP: Hostname : titan.rice.edu (128.42.1.30) Directory: sun-source Filename : machtype.script Filesize : 894 bytes Archive Server Address: archive-server@rice.edu Archive Server Command: send sun-source machtype.script Don Cox ARPA dcox@ssd.kodak.com UUCP ...rutgers!rochester!kodak!aviary!dcox