* APIs for Tru64 shared mem segments and psets
@ 2001-03-08 22:55 David Singleton
2001-03-09 15:01 ` Tony Verhulst
0 siblings, 1 reply; 2+ messages in thread
From: David Singleton @ 2001-03-08 22:55 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: APIs for Tru64 shared mem segments and psets
2001-03-08 22:55 APIs for Tru64 shared mem segments and psets David Singleton
@ 2001-03-09 15:01 ` Tony Verhulst
0 siblings, 0 replies; 2+ messages in thread
From: Tony Verhulst @ 2001-03-09 15:01 UTC (permalink / raw)
> 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.
It's all "Mach magic" I'm afraid. There is no publicly exported API to
get the information. Since we introduced processor sets (as a product)
in 1994, this is the first request I've had for such an API. Please let
me know what your requirements are. I might be able to do something for
the next release.
Tony V.
Kernel Group
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2001-03-09 15:01 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2001-03-08 22:55 APIs for Tru64 shared mem segments and psets David Singleton
2001-03-09 15:01 ` Tony Verhulst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox