From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f678f,c3ca9f0bbcb2b6ab X-Google-Attributes: gidf678f,public From: strange@zk3.dec.com.nojunk (Steve Strange USG) Subject: Re: How to get a unique cpu id Date: 1997/04/08 Message-ID: #1/1 X-Deja-AN: 231596970 References: <01bc4435$068a1780$704a05cb@simon.iaccess.com.au> Organization: Digital Equipment Corp. Newsgroups: comp.unix.osf.misc In article <01bc4435$068a1780$704a05cb@simon.iaccess.com.au> "s" writes: > Greetings, > > I have a need to get a cpu id in the DEC alpha unix environment, both > at the command line level, and programmatically, as I am porting an > application from AIX / HP-UX that uses this value in a licensing algorithm. > > In AIX we can do a "uname -m" and in HP-UX we do "uname -i" > to return such a value. And in both environments, the uname system > function can return the necessary value, (I think the utsname member > name is "machine" in HP-UX). > > Is there such a facility on the Alpha? See 'man psrinfo' (DU V4.0 or later). Hope this helps. Steve -- Steve Strange strange@zk3.dec.com Digital Equipment Corporation, Nashua, NH (603) 881-0595 Digital UNIX Filesystem Development