On Thu, Mar 12, 2009 at 10:44 AM, kaushik p <kaushiks...@gmail.com> wrote: > hi > > i was told that dtrace program can not accesses the information > present in the core dump file
dtracing is for a running system. > but we can pass the information present > in the file to dtrace program using some scripting language. > This is unclear. > can anybody suggest me where i can get information on how to integrate > dtrace with scripting language to access files's information ? > There are 2 different things: 1. Calling dtrace utility from within other scripts. DTraceToolkit (http://www.opensolaris.org/os/community/dtrace/dtracetoolkit) has ample examples 2. Being able to use dtrace APIs from within a scripting language seamlessly (for ex like a function call in perl/tcl/python/etc). For this one needs to write language bindings for the scripting language based on APIs provided by libdtrace. This is more involved work. You may look at http://dev.lrem.net/tcldtrace as an example (for tcl) -Shiv _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org