0.0.6 • Published 9 years ago

pgrep v0.0.6

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

node-pgrep

NPM version Build status Dependency Status

Install

$ npm install pgrep --save

Usage

var pgrep = require('pgrep');
pgrep.exec({
    euid: 'tjwebb', // owner of process
    full: true,     // whether to match full command line
    parent: 12587   // parent PID
  })
  .then(function (pids) {
    // handle the pids
  });

API

.exec

Returns Promise containing a list of the matching PIDs.

@param@description \
options.euideffective user id
options.fullmatch the full command line
options.parentparent process ID

Manpage

(http://linux.die.net/man/1/pgrep)

License

MIT

0.0.6

9 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago