lscfg from a subroutine
rudy at chukran.austin.ibm.com
rudy at chukran.austin.ibm.com
Tue Nov 27 12:10:06 AEST 1990
In article <1990Nov23.214323.12835 at odi.com>, benson at 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 at chukran.austin.ibm.com
Internal ZIP 2830 | internet: chukran at austin.iinus1.ibm.com
Austin, Texas 78758 | Voice: 512-838-4674 Tieline: 678-4674
*********************************************************************
More information about the Comp.unix.aix
mailing list