/ student-intifada / node_modules / pstree.remy /

[ICO]NameLast modifiedSizeDescription
[PARENTDIR]Parent Directory  -  
[DIR]lib/a year ago -  
[DIR]tests/a year ago -  
[   ]LICENSEa year ago1.1K 
[TXT]README.mda year ago421 595aea1 more query options + view options [كارل مبارك]
[   ]package.jsona year ago629 afd0ccc remove unused [كارل مبارك]
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");
Apache/2.4.38 (Debian) Server at www.karls.computer Port 80