This tool is wonderful! It almost gives too much information (and that's a good thing). But the pmap_helper.ko kernel module is a little worrisome from a "safety" standpoint; just glancing through it, I see how it would be possible to leave with a LK_SHARED still held on p->p_vmspace->vm_map (say, if the user process didn't have enough room for all the pmh_map structs). Even with that fixed, it would be good if someone (Matt Dillion?) with a lot of vm subsystem experience looked at it for issues.
But that said, it looks very promising, indeed. Although I don't think we'll be running it on a live server just yet, there are lots of cases where it would be useful even so. And I'm sure that some people will be inspired to strengthen and extend it. -Ed "Roman V. Palagin" <[EMAIL PROTECTED]> wrote: : On May 11, at 1:15pm -0700, Ed Hall wrote: : Try to look at : : ftp://ftp.wuppy.net.ru/pub/FreeBSD/local/pmap/pmap-20010226.tar.gz : : This is tool simular to Solaris' pmap. You need to compile and install : pmap_helper, then compile pmap itself (pmap.d is very verbose development : version of pmap, you may want to look at it if you understand some VM's : internals :). You can run pmap w/out args, it will list all processes or : 'pmap <pid>' to get info about specific pid. To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-hackers" in the body of the message