On Thu, Dec 03, 2009 at 10:07:03PM -0500, Kevin Fitch 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.

Take a look at "dtruss" in the Dtrace toolkit:

     http://www.brendangregg.com/DTraceToolkit-0.99.tar.gz

It will monitor a process by name and the process doesn't need to
exist when you invoke dtruss.  I use this for transient process debugging.
_______________________________________________
dtrace-discuss mailing list
dtrace-discuss@opensolaris.org

Reply via email to