You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 421B

4 년 전
1234567891011121314151617181920212223242526
  1. # pstree.remy
  2. > Cross platform ps-tree (including unix flavours without ps)
  3. ## Installation
  4. ```shel
  5. npm install pstree.remy
  6. ```
  7. ## Usage
  8. ```js
  9. const psTree = psTree require('pstree.remy');
  10. psTree(PID, (err, pids) => {
  11. if (err) {
  12. console.error(err);
  13. }
  14. console.log(pids)
  15. });
  16. console.log(psTree.hasPS
  17. ? "This platform has the ps shell command"
  18. : "This platform does not have the ps shell command");
  19. ```