On Fri, Jan 16, 2009 at 6:01 PM, Kedar Mhaswade <kedar.mhasw...@sun.com> wrote: > This might be a n00b question, but is there an example that demonstrates how > one can collect DTrace output programmatically? > > For example, if I were interested in building a web interface for dtrace, how > should I go about it?
I've released a Ruby interface to DTrace, which you can use from a Rails app, for instance. The interface covers both consuming DTrace data and creating DTrace probes programmatically. The interface docs are here: http://ruby-dtrace.rubyforge.org/ and the source lives on github, where you'll find an example of integrating with Rails: http://github.com/chrisa/ruby-dtrace/tree/master Hope that helps. Chris. _______________________________________________ dtrace-discuss mailing list dtrace-discuss@opensolaris.org