Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
C++ Port of Unix getrusage for getting cputime, usertime and other process information
tree: c8a9e7c42c

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
examples
.gitignore
.npmignore
LICENSE
Makefile
README.md
getrusage.cc
package.json
wscript

README.md

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());
console.log(proc.getcputime());
console.log(proc.getusertime());
Something went wrong with that request. Please try again.