DT_Logger is a configurable data logging suite,
based on DTrace and intended for "set and forget" operation.
It differs from ordinary DTrace usage in several respects:
- Dozens of probes are commonly used at the same time.
- Sets of probes may be defined and used as desired.
- DT_Logger is generally run in the background.
- The tracing may go on for (many) days.
- The output is both human- and machine-readable.
DT_Logger was created to help Morinfo
log information about coarse-grained activities
(e.g., file access, process and thread creation, signals)
of target Operating Systems
Plans are also afoot to use it
(eg, in Arti
to log the activities
of target Ruby on Rails
DT_Logger is based on:
- DTrace - Sun's dynamic software tracing facility
- Ruby - a dynamic programming language
- YAML - a general-purpose data serialization format
is a comprehensive dynamic tracing facility,
able to report on both operating systems
Although developed and maintained by engineers
at Sun Microsystems
DTrace is Open Source
It currently runs on Mac OS X
it is being ported to a number of other OS platforms.
(DTrace's scripting language) uses a subset
but borrows the pattern-action paradigm
is a popular scripting language,
available on most modern operating systems.
support is built into Ruby.
support is built into DT_Logger.
Releases of DT_Logger may be downloaded from the link(s) below:
This work is licensed under a Creative Commons Attribution 3.0 Unported License
My plan is to load the log data
into a relational database
then analyze the recorded events.
For example, the logs might indicate
that processes which exec /usr/bin/vi
often access .exrc
files in various locations.
This would let us posit a relationship between the vi
and this sort of file.
The resulting relationships, along with other information
(e.g., statically-derived data; human-entered "facts", "rules", and "notes")
will be made available for browsing and viewing
in a Ruby on Rails application.
This wiki page is maintained by Rich Morin
an independent consultant specializing in software design, development, and documentation.
Please feel free to email
comments, inquiries, suggestions, etc!