Skip to content
C++ Port of Unix getrusage for getting cputime, usertime and other process information
C++ JavaScript Python Makefile
Latest commit 1880c13 Sep 17, 2015 @davglass 1.0.0

getrusage for Node

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


npm install getrusage


git clone git://
cd node-getrusage
npm install


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.


npm install && npm test

Build Status

Build Status

Something went wrong with that request. Please try again.