Skip to content

Commit

Permalink
Merge pull request #1002 from steveschnepp/dump_node
Browse files Browse the repository at this point in the history
Dump node
  • Loading branch information
steveschnepp authored Oct 1, 2020
2 parents 09b145c + 3e7d730 commit e66faac
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions tools/profiling/dump_node
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
#! /bin/sh

NODE="${1:-localhost}"
PORT="${2:-4949}"

{
for plugin in $(echo "list" | nc "$NODE" "$PORT" | tail -n 1)
do
echo "config $plugin"
echo "fetch $plugin"
done
echo "quit"
} | nc "$NODE" "$PORT"

0 comments on commit e66faac

Please sign in to comment.