pstree.remy
Collects the full tree of processes from /proc
Last updated 5 years ago by remy .
MIT · Repository · Bugs · Original npm
$ cnpm install pstree.remy 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.1.8                                ...           latest (5 years ago)

2 Versions

  • 1.1.8                                ...           5 years ago
  • 1.1.7                                ...           6 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (1)
Dependents (0)
None

Copyright 2013 - present © cnpmjs.org