On Wed, Oct 1, 2008 at 5:48 PM, Vladimir Kotal <[EMAIL PROTECTED]> wrote: > > Hi all, > > I am trying to write a D script which would print ustack() for every > program in the system receiving SIGSEGV. All the stacks printed in > trap()/sigtoproc() context do not have meaningful symbols. > > The following solves the problem to some degree but I'd much rather have > a self-contained D script. >
The appcrash utility works beautifully and is for a similar purpose. The script is not self-contained though: http://blogs.sun.com/gregns/entry/making_system_wide_appcrash_to http://developers.sun.com/solaris/articles/app_crash/app_crash.html -Shiv _______________________________________________ dtrace-discuss mailing list [email protected]
