Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including dtrace-streams with all npm packages installed. Try it out:

var dtraceStreams = require("dtrace-streams")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

dtrace-streams v0.0.3

dtrace data as streams

dtrace-streams

Streaming API for DTrace on IllumOS based systems.

Install

$ npm install dtrace-streams

Usage

var dtracestream = require('dtrace-streams')
var stm = dtracestream.traces(LOCATION_OF_D_FILE, 1000)
stm.pipe(process.stdout);

Examples

Install

$ git clone git@github.com:No9/dtrace-streams.git
$ cd dtrace-streams
$ npm install 
$ cd examples 

Run

$ node helloworld.js
Hell of a world!
RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free