Created
August 11, 2014 23:26
-
-
Save danielhopkins/b9cc261113d127d4cc9c to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment