1.0.0 • Published 9 years ago

getrusage v1.0.0

Weekly downloads
3
License
BSD
Repository
github
Last release
9 years ago

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
npm install

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.

Tests

npm install && npm test

Build Status

Build Status

1.0.0

9 years ago

0.3.3

11 years ago

0.3.2

12 years ago

0.3.1

12 years ago

0.3.0

12 years ago

0.2.1

12 years ago

0.2.0

13 years ago

0.1.4

13 years ago

0.1.3

13 years ago