dtrace-streams

dtrace data as streams

Usage no npm install needed!

<script type="module">
  import dtraceStreams from 'https://cdn.skypack.dev/dtrace-streams';
</script>

README

dtrace-streams

Streaming API for DTrace on IllimOS based systems.

Install

npm install dtrace-streams

Usage

See examples folder

var dtracestream = require('../index.js')
var stm = dtracestream.traces(LOCATION_OF_D_FILE, 1000)
stm.pipe(process.stdout);