Share your code.
pspublic
ps
A Node.js module for looking up running processes.
Install
$ npm install ps
Usage
var ps = ; // A simple pid lookup ps; // Lookup processes in a list of pids and format them var query = pid: 123 234 345 // Look up these pids format: 'pid comm' // Retrieve the pid and name, like running `ps -o pid= -o comm=` parse: true // Parse the output results into a 2D array ;ps;