On Thu, Dec 3, 2009 at 10:07 PM, Kevin Fitch <kfitc...@gmail.com> wrote:
I have a situation that I would like to debug with dtrace, but I am not sure
how.

I have a process that kicks off, runs for a few seconds (perhaps
milliseconds) then goes away. And this happens very frequently, think
old-school CGI based web app. And just for a little more fun, this app makes
extensive use of shared libraries.

How can I use dtrace? I don't have an existing process to attach the pid
provider.

I could use the pid$target stuff, but that would linvolve modifying the
system to kick off the processes with dtrace -c. This would be possible, but
painful. And, it would mean I would have to use a post-processing step
should I want/need to aggregate results from multiple processes.


Is this a production system? If not, you could predicate on firings of cfork:create to catch the process you wanna look at.

Rafael
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to