Unique ID for a RS6000 Host.
John F Haugh II
jfh at greenber.austin.ibm.com
Tue Jan 15 10:13:33 AEST 1991
In article <2230 at cybaswan.UUCP> csko at 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)
More information about the Comp.unix.aix
mailing list