displaying resident programs?

Hiten Pandya hmp at backplane.com
Thu Mar 25 15:36:39 PST 2004


Steve Mynott wrote:
Cool I look forward to testing it!

Actually another tool that would be *most* useful :-) is something along 
the lines of NetBSD's pmap(1) or Darwin's vmmap, which is AFAIK absent 
in FreeBSD/DragonFly to basically display the virtual memory map of a 
process.
	Well, I think such being possible through Linux' procfs,
	through /proc/<pid>/map.  Anyway, FreeBSD and friends do
	have a pmap utility but it sort of sucks because of the
	sick tricks it plays using a helper KLD. :-)
	It can be found at: ports/sysutils/pmap.  I have got it
	working almost, but I am seriously not looking to fix it
	anymore.  If I get time (since I am up to my neck with
	a few projects) I will port NetBSD's pmap utility.
I assume that both pmap(1) (which uses UVM and appears under another 
name in OpenBSD) and vmmap (which uses Mach and doesn't anyway appear to 
be open source) would be too system specific to be directly ported??
	I guess pmap(1) is easier to port than vmmap, but that is
	just plain speculation.
-- Steve

	Cheers.

	-Hiten
	Hiten Pandya
	hmp at xxxxxxxxxxxxx || hmp at xxxxxxxxxxx




More information about the Kernel mailing list