Skip to content

Instantly share code, notes, and snippets.

@danielhopkins
Created August 11, 2014 23:26
Show Gist options
  • Save danielhopkins/b9cc261113d127d4cc9c to your computer and use it in GitHub Desktop.
Save danielhopkins/b9cc261113d127d4cc9c to your computer and use it in GitHub Desktop.
#!/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