Comparing version 0.0.8 to 0.0.9
@@ -57,6 +57,6 @@ #! /usr/bin/env node | ||
try { | ||
cmd('cat $(npm -g root)"/ntop/commands"', (resp) => { | ||
cmd('cat "' + __dirname + '/commands"', (resp) => { | ||
console.log('Run commands', resp) | ||
}) | ||
cmd('cat $(npm -g root)"/ntop/commands" | { while read l ; do sleep 2; echo $l; done } | NTOP=$(npm -g root)"/ntop" node inspect -p ' + process.argv[3], (resp) => { | ||
cmd('cat "' + __dirname + '/commands" | { while read l ; do sleep 2; echo $l; done } | NTOP="' + __dirname + '" node inspect -p ' + process.argv[3], (resp) => { | ||
console.log(resp) | ||
@@ -63,0 +63,0 @@ if (resp.includes('ntop-enabled')) console.log(`The process is now ready for profiling! Run "ntop ${process.argv[3]}"`) |
{ | ||
"name": "ntop", | ||
"version": "0.0.8", | ||
"version": "0.0.9", | ||
"description": "Node CLI runtime profiler - easily debug unexpected high CPU usage", | ||
@@ -5,0 +5,0 @@ "main": "ntop.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
17516