Need information on getprocinfo()

Geoff Coleman geoff at edm.uucp
Fri Apr 5 14:10:16 AEST 1991


In article <19134 at rpp386.cactus.org> jfh at rpp386.cactus.org (John F Haugh II) writes:
>In article <1991Mar29.063253.2770 at rice.edu> berk at blenda.rice.edu (Murat Berk) writes:
>>
>>But I cannot find any information for getprocs in info. Both find and search
>>for getprocs fails. Another reference is in the /usr/include/sys/proc.h
>>file. They recommend to read a file,
>>
>
>That's because it is in the source code tree.
>
>You should call the IBM support number that you have.  They have been
>asked this question a thousand times and have exactly the information
>you are requesting.  The interface was initially not documented because
>it wasn't to be used by user applications.  Obviously user's think it
>is useful, so they are using it ;-)

	Yes but will it be around for long. After a lot of begging , 
pleading I got a copy of the man page for this faxed to me. But the person
who faxed it to me made very clear that 1) the call is not supported (ie. 
use at your own risk) and 2) the call may not survive long in AIX 3.1.?????


Geoff Coleman

>
>Actually, if you have the process ID you have the slot number that the
>(struct proc) is in.  You can take that number and use it as an offset
>into the process table and read the entire structure yourself.  Of
>course that's very unportable ...
>
>This is another question for the FAQ for this group.  Is there anybody
>collecting them this week???
>-- 
>John F. Haugh II        | Distribution to  | UUCP: ...!cs.utexas.edu!rpp386!jfh
>Ma Bell: (512) 832-8832 | GEnie PROHIBITED :-) |  Domain: jfh at rpp386.cactus.org
>"I want to be Robin to Bush's Batman."
>                -- Vice President Dan Quayle



More information about the Comp.unix.aix mailing list