HEX
Server: nginx/1.28.3
System: Linux lightweb-s1 5.15.0-173-generic #183-Ubuntu SMP Fri Mar 6 13:29:34 UTC 2026 x86_64
User: dawonefr-98 (1071)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: /home/dnlightw-124/dn.lightweb.kr/node_modules/.bin/ps-tree
#!/usr/bin/env node

'use strict';

//
// Change the default parent PID if running
// under Windows.
//
var ppid = 1;
if (process.platform === 'win32') {
  ppid = 0;
}

require('../')(process.argv[2] || ppid, function (err, data) {
  console.log(data);
});