source: node_modules/pstree.remy/README.md@ 62b2964

finki-main main
Last change on this file since 62b2964 was 81bc7da, checked in by Klimentina Efremova <klimentina08642@…>, 3 months ago

Initial commit

  • Property mode set to 100644
File size: 421 bytes
Line 
1# pstree.remy
2
3> Cross platform ps-tree (including unix flavours without ps)
4
5## Installation
6
7```shel
8npm install pstree.remy
9```
10
11## Usage
12
13```js
14const psTree = psTree require('pstree.remy');
15
16psTree(PID, (err, pids) => {
17 if (err) {
18 console.error(err);
19 }
20 console.log(pids)
21});
22
23console.log(psTree.hasPS
24 ? "This platform has the ps shell command"
25 : "This platform does not have the ps shell command");
26```
Note: See TracBrowser for help on using the repository browser.