Skip to content

Commit e66faac

Browse files
authored
Merge pull request #1002 from steveschnepp/dump_node
Dump node
2 parents 09b145c + 3e7d730 commit e66faac

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

tools/profiling/dump_node

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
#! /bin/sh
2+
3+
NODE="${1:-localhost}"
4+
PORT="${2:-4949}"
5+
6+
{
7+
for plugin in $(echo "list" | nc "$NODE" "$PORT" | tail -n 1)
8+
do
9+
echo "config $plugin"
10+
echo "fetch $plugin"
11+
done
12+
echo "quit"
13+
} | nc "$NODE" "$PORT"

0 commit comments

Comments
 (0)