parse-processes

List processes on Unix/Linux.

Processes

List processes on Unix/Linux.

npm install parse-processes
var processes = require('parse-processes');
 
processes(function(errresult){
  result.forEach(function(p){
    console.log(p.id, p.tty, p.time, p.cmd);
  });
});

MIT