This package has been deprecated

Author message:

jsps is not maintained

jsps

1.0.0 • Public • Published

jsps

JavaScript binding to ps.

build status js-standard-style

npm install jsps

Usage

var ps = require('jsps')
 
var options = {
  pid: process.pid, // if undefined, process.pid is used
  keywords: ['%cpu', '%mem'] // man ps for the list of keywords
}
 
ps.lookup(options, function(err, result) {
  console.log(err || result)
})
{"%cpu": "44.7", "%mem": "0.4"}

Test

npm install -g standard
npm test

Readme

Keywords

Package Sidebar

Install

npm i jsps

Weekly Downloads

1,128

Version

1.0.0

License

ISC

Last publish

Collaborators

  • sonny