Skip to content

C++ Port of Unix getrusage for getting cputime, usertime and other process information

License

Notifications You must be signed in to change notification settings

pyhrus/node-getrusage

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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());

About

C++ Port of Unix getrusage for getting cputime, usertime and other process information

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published