Last active
August 29, 2015 13:56
-
-
Save odiszapc/9107179 to your computer and use it in GitHub Desktop.
This file contains 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
# Show how many data will be streamed by rebalance/repair process | |
# <CF_NAME> - name of your column family | |
nodetool netstats | grep <CF_NAME> | sed --unbuffered -r 's/ - [0-9]+%//g' | sed --unbuffered -r 's/.+?[0-9]+\///g' | awk '{total = total + $1}END{print total}' | |
# See more snippets on https://github.com/odiszapc/cassandra-kit |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment