Skip to content

Commit 33c64b0

Browse files
committed
Merge branch 'master' of github.com:aliyun-node/commands
2 parents fd81dd7 + 5fc37ee commit 33c64b0

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

take_heaptimeline

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
#!/bin/bash
2+
3+
NODE_KILL=`which node-kill`
4+
5+
if [ -f "$HOME/.nodepath" ]; then
6+
NODE_KILL=`cat $HOME/.nodepath`/node-kill;
7+
fi
8+
9+
$NODE_KILL --start_timeline time=30s $1

0 commit comments

Comments
 (0)