<commit_before>## getrusage for Node

Simple wrapper around the unix method `getrusage` for reporting CPU Time and other process information


## Installation

    npm install getrusage

Or:

    git clone git://github.com/davglass/node-getrusage.git
    cd node-getrusage
    make

## Usage

    var proc = require('getrusage');
    console.log(proc.usage());          # Run "man getrusage" for fields.
    console.log(proc.getcputime());     # User time + system time.
    console.log(proc.getsystemtime());  # System time.<commit_msg>Added Travis Build Status to Readme<commit_after>## getrusage for Node

Simple wrapper around the unix method `getrusage` for reporting CPU Time and other process information


## Installation

    npm install getrusage

Or:

    git clone git://github.com/davglass/node-getrusage.git
    cd node-getrusage
    make

## Usage

    var proc = require('getrusage');
    console.log(proc.usage());          # Run "man getrusage" for fields.
    console.log(proc.getcputime());     # User time + system time.
    console.log(proc.getsystemtime());  # System time.

## Build Status

[![Build Status](https://secure.travis-ci.org/davglass/node-getrusage.png?branch=master)](http://travis-ci.org/davglass/node-getrusage)
{'fraction_non_alphanumeric': 0.116, 'fraction_numerical': 0.0, 'mean_word_length': 3.4838709677419355, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 1, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3561018', 'n_tokens_mistral': 396, 'n_tokens_neox': 379, 'n_words': 104}