pstree.remy

1.1.8 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.1.8
    5,436,231
    • latest

Version History

Package Sidebar

Install

npm i pstree.remy

Weekly Downloads

5,577,907

Version

1.1.8

License

MIT

Unpacked Size

15 kB

Total Files

11

Last publish

Collaborators

  • remy