Vertragsverwaltung_Plusfit24/node_modules/pstree.remy
2026-02-10 15:29:29 +00:00
..
lib Initialer Commit 2026-02-10 15:29:29 +00:00
tests Initialer Commit 2026-02-10 15:29:29 +00:00
.travis.yml Initialer Commit 2026-02-10 15:29:29 +00:00
LICENSE Initialer Commit 2026-02-10 15:29:29 +00:00
package.json Initialer Commit 2026-02-10 15:29:29 +00:00
README.md Initialer Commit 2026-02-10 15:29:29 +00:00

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");