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ů.
Nikola Ignjatovic d724149647 Init commit před 4 roky
..
lib Init commit před 4 roky
tests Init commit před 4 roky
.travis.yml Init commit před 4 roky
LICENSE Init commit před 4 roky
README.md Init commit před 4 roky
package.json Init 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");