psjson

Convert 'ps' command output to json

psjson

Just simply converts output of a 'ps' command into JSON.

npm install psjson
var psjson = require('psjson');
psjson.ps('ps -ea', function(err, json) {
  console.dir(json);
});

If no command is specified, the command defaults to 'ps -eaf'.