node-pgrep
Install
$ npm install pgrep --save
Usage
var pgrep = ;pgrep ;
API
.exec
Returns Promise containing a list of the matching PIDs.
@param | @description \ |
---|---|
options.euid |
effective user id |
options.full |
match the full command line |
options.parent |
parent process ID |
Manpage
(http://linux.die.net/man/1/pgrep)
License
MIT