[dtrace-discuss] Re: Re: How to use DTrace to find out List of
modules
Adam Leventhal
ahl at eng.sun.com
Wed Dec 13 22:38:51 PST 2006
At present, DTrace can help you figure out the modules that a process is
using:
# dtrace -n 'pid123:::entry{ @[probemod] = count(); }'
But I can't think of a simple way to tell what processes are using a give
shared object using DTrace. I'd probably put something together that uses
/proc/<pid>/pagedata (see proc(4)). It wouldn't be impossible to extend
DTrace to solve this. Would you use this information for some larger
purpose or is this the actual question you're trying to answer?
Adam
On Wed, Dec 13, 2006 at 10:33:29PM -0800, Arun wrote:
> I need to know what processes are making calls to functions
> in the shared object...
>
>
> This message posted from opensolaris.org
> _______________________________________________
> dtrace-discuss mailing list
> dtrace-discuss at opensolaris.org
--
Adam Leventhal, Solaris Kernel Development http://blogs.sun.com/ahl
More information about the dtrace-discuss
mailing list