We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 1d5f90b + 2ba78a1 commit e9aa07dCopy full SHA for e9aa07d
package.json
@@ -1,6 +1,6 @@
1
{
2
"name": "commandx",
3
- "version": "1.2.3",
+ "version": "1.2.4",
4
"description": "commands of alinode agentx",
5
"scripts": {},
6
"repository": {
take_heaptimeline
@@ -6,4 +6,7 @@ if [ -f "$HOME/.nodepath" ]; then
NODE_KILL=`cat $HOME/.nodepath`/node-kill;
7
fi
8
9
-$NODE_KILL --start_timeline time=30s $1
+PID=$1
10
+TIME=${2:-30}s
11
+
12
+$NODE_KILL --start_timeline time=$TIME $PID
0 commit comments