Re: vmmap source?
Re: vmmap source?
- Subject: Re: vmmap source?
- From: Terry Lambert <email@hidden>
- Date: Tue, 12 Jun 2007 04:20:24 -0700
On Jun 11, 2007, at 5:03 PM, Yount, Chuck wrote:
I can't seem to find the source for the vmmap utility in the darwin
source. Can anyone point me to it? Alternatively, does anyone have
some sample code that enumerates the virtual memory regions for a
process?
The source is not published.
The normal way you would get this information programmatically is to
popen vmmap, and read its output (the process is setgid procview, so
it requires privileges that are not available to ordinary users).
-- Terry
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-kernel mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden