Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!bbn!bbn.com!fkittred From: fkittred@bbn.com (Fletcher Kittredge) Newsgroups: comp.unix.ultrix Subject: Re: How do you identify VAX/PMAX cpu's from software? Keywords: CPU identification Message-ID: <40619@bbn.COM> Date: 30 May 89 13:26:11 GMT References: <105@asihub.UUCP> <7005@cbmvax.UUCP> Sender: news@bbn.COM Reply-To: fkittred@BBN.COM (Fletcher Kittredge) Distribution: na Organization: Bolt Beranek and Newman Inc., Cambridge MA Lines: 16 In article <105@asihub.UUCP> dan@asihub.UUCP (Dan O'Neill) writes: > Is there a way to determine the class of a VAX or PMAX cpu under > Ultrix? We would like to be able to tell the difference between a > VAXstation 3200, VAXstation 3600, VAXstation 3100 and a DECstation > 3100 (pmax) from within a program. Any and all suggestions are > appreciated. Well, I don't have access to all of these systems, so this is a guess. Try the uname() system call and check the resulting structure. If DEC did a smart implementation, then the resulting information should tell you what you need. At minimum it should at least tell you if your CPU is a MIPS or a VAX chip and the name and version of the O/S. regards, fletcher Fletcher E. Kittredge fkittred@bbn.com