Skip to content

christkv/node-psutil

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

79 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-psutil

The start of a port of the pyhton library psutil.

Usage

var PSUtil = require('psutil').PSUtil;

var psUtil = new PSUtil();
psUtil.cpu_times(false, function(err, result) {
  test.equal(null, err);
  test.equal('number', typeof result.user);

  psUtil.cpu_times(true, function(err, result) {
    test.equal(null, err);
    test.equal('number', typeof result[0].user);
    test.done();
  });
});

About

A port of the pyhton library psutil

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published