Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/no9/dtrace-streams

Streaming API for DTrace
https://github.com/no9/dtrace-streams

Last synced: about 2 months ago
JSON representation

Streaming API for DTrace

Awesome Lists containing this project

README

        

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 [email protected]:No9/dtrace-streams.git
$ cd dtrace-streams
$ npm install
$ cd examples
```

### Run
```
$ node helloworld.js
Hell of a world!
```