Skip to content

Instantly share code, notes, and snippets.

@danielhopkins
Created August 11, 2014 23:26

Revisions

  1. Dan Hopkins created this gist Aug 11, 2014.
    9 changes: 9 additions & 0 deletions test.sh
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,9 @@
    #!/bin/bash

    for i in `seq 1 10`; do
    echo "----------$i"
    echo "Network"
    ~/src/cassie-class/cassandra/bin/nodetool -h 127.0.0.1 -p 7100 getendpoints network_keyspace test $i 2>/dev/null
    echo "Simple"
    ~/src/cassie-class/cassandra/bin/nodetool -h 127.0.0.1 -p 7100 getendpoints simple_keyspace test $i 2>/dev/null
    done