Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!romp!auschs!awdprime!greenber.austin.ibm.com!jfh From: jfh@greenber.austin.ibm.com (John F Haugh II) Newsgroups: comp.unix.aix Subject: Re: Unique ID for a RS6000 Host. Message-ID: <4785@awdprime.UUCP> Date: 14 Jan 91 23:13:33 GMT References: <2230@cybaswan.UUCP> Sender: news@awdprime.UUCP Organization: Obfuscated Features "R" Us, LCC Austin Lines: 13 In article <2230@cybaswan.UUCP> csko@cybaswan.UUCP (y w ko) writes: > On SUN's, there is a system call "gethostid" which does just that. >It returns an id. no. which is picked up from the CPU board and is unique >across all SUN hardware. > Now, does anyone know if there is an equivalent on an RS6000? The uname() system call returns a (struct utsname *) filled in with information about the system. One of the members in that structure, machine, contains the machine serial number. -- John F. Haugh II | I've Been Moved | MaBellNet: (512) 838-4340 SneakerNet: 809/1D064 | AGAIN ! | VNET: LCCB386 at AUSVMQ BangNet: ..!cs.utexas.edu!ibmchs!auschs!snowball.austin.ibm.com!jfh (e-i-e-i-o)