Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!elroy.jpl.nasa.gov!lll-winken!aunro!edm!geoff From: geoff@edm.uucp (Geoff Coleman) Newsgroups: comp.unix.aix Subject: Re: Need information on getprocinfo() Message-ID: <1991Apr05.041016.23870@edm.uucp> Date: 5 Apr 91 04:10:16 GMT References: <1991Mar29.063253.2770@rice.edu> <19134@rpp386.cactus.org> Organization: Unexsys Systems Inc Lines: 37 In article <19134@rpp386.cactus.org> jfh@rpp386.cactus.org (John F Haugh II) writes: >In article <1991Mar29.063253.2770@rice.edu> berk@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@rpp386.cactus.org >"I want to be Robin to Bush's Batman." > -- Vice President Dan Quayle