benson@odi.com (Benson I. Margulies) (11/24/90)
Can anyone tell me how to get the sysplanar "processor identification" from inside a program, other than reading a pipe from lscfg? I need a machine serial number type item, and gethostid returns the IP address. -- Benson I. Margulies
rudy@chukran.austin.ibm.com (11/27/90)
In article <1990Nov23.214323.12835@odi.com>, benson@odi.com (Benson I. Margulies) writes: > Can anyone tell me how to get the sysplanar "processor identification" > from inside a program, other than reading a pipe from lscfg? I need > a machine serial number type item, and gethostid returns the IP address. I believe you want to use the uname system call. As a command, uname -m reports that number. ********************************************************************* Rudy Chukran | EMAIL: IBM AIX Porting Center | RSCS: CHUKRAN at AUSTIN 11400 Burnet Rd. | AWDnet: rudy@chukran.austin.ibm.com Internal ZIP 2830 | internet: chukran@austin.iinus1.ibm.com Austin, Texas 78758 | Voice: 512-838-4674 Tieline: 678-4674 *********************************************************************