From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,89ea6c2427c27488,start X-Google-Attributes: gidfee84,public X-Google-ArrivalTime: 1993-12-14 22:47:10 PST Newsgroups: comp.unix.osf.osf1 Path: gmd.de!xlink.net!howland.reston.ans.net!cs.utexas.edu!uunet!munnari.oz.au!yarra-glen.aaii.oz.au!aaii.oz.au!anthony From: anthony@albany (Anthony Baxter) Subject: Alternative for _mpid besides grunging through kernel? Message-ID: Keywords: kernel osf1 mpid top Sender: usenet@yarra-glen.aaii.oz.au (Network News) Organization: Australian Artificial Intelligence Institute Date: Wed, 15 Dec 1993 03:32:51 GMT Well, the top port works under OSF/1 1.2 and 1.3, and should now work under 2.0 (its going out to some testers now). One thing I've tried to do to make it work under 2.0 is remove as much as possible of the kernel trawling (nlist &c.) as possible, to the point now where the only thing I get out of the kernel that way is mpid, the number of the next pid to be allocated. Anyone know an alternative way to get this information? I half expected it to be in one of the table() calls, but no luck there. If I can find that some other way, then I can toss a reasonable sized lump of code thats only used for this away. Not an urgent request, but it'd be nice to know. Thanks, Anthony -- anthony baxter australian artificial intelligence institute email : anthony@aaii.oz.au 1 grattan st, carlton, australia 3053 /\/\|| phone : +613 663 7922 It's not denial. I'm just selective about the reality I accept. - Calvin