From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fa528,cdd31485f79bd1f0,start X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-03-08 13:56:19 PST Sender: dbs900@anu.edu.au (David Singleton) From: David.Singleton@anu.edu.au (David Singleton) Newsgroups: comp.unix.tru64 Organization: ANU Supercomputer Facility Subject: APIs for Tru64 shared mem segments and psets NNTP-Posting-Host: 150.203.5.2 X-Original-NNTP-Posting-Host: 150.203.5.2 Message-ID: <3aa7ffdb$1@clarion.carno.net.au> Date: 9 Mar 2001 08:55:39 +1000 X-Trace: 9 Mar 2001 08:55:39 +1000, 150.203.5.2 Path: supernews.google.com!sn-xit-03!supernews.com!newsfeed.wirehub.nl!news.maxwell.syr.edu!intgwpad.nntp.telstra.net!news1.optus.net.au!optus!clarion.carno.net.au!dbs900 Xref: supernews.google.com comp.unix.tru64:1822 Are there any Tru64 system programming types lurking on this newsgroup or is there a more appropriate place to ask the following questions: 1. How can I associate processes with the shared memory segments they are attached to (I want to do this as an external privileged monitoring process)? I can get the list of all shared memory segments (from table()) and for each process I can get the memory maps (from /proc) but there appears to no way of definitively associating the two. 2. Is there an API to get the same information that pset_info provides? I can see that there are some functions like processor_set_info buried in libpset (which I think pset_info uses) but no info on calling them. I think there is a bit of Mach magic involved. Thanks, David ------ David.Singleton@anu.edu.au ANU Supercomputer Facility Phone: +61 2 6125 4389 Australian National University Fax: +61 2 6125 8199 Canberra, ACT, 0200, Australia