Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.
Christian Ziermann b8da0c7023 Initial commit před 4 roky
..
lib Initial commit před 4 roky
tests Initial commit před 4 roky
.travis.yml Initial commit před 4 roky
LICENSE Initial commit před 4 roky
README.md Initial commit před 4 roky
package.json Initial commit před 4 roky

README.md

pstree.remy

Cross platform ps-tree (including unix flavours without ps)

Installation

npm install pstree.remy

Usage

const psTree = psTree require('pstree.remy');

psTree(PID, (err, pids) => {
  if (err) {
    console.error(err);
  }
  console.log(pids)
});

console.log(psTree.hasPS
  ? "This platform has the ps shell command"
  : "This platform does not have the ps shell command");