Skip to content

Instantly share code, notes, and snippets.

View odiszapc's full-sized avatar

Alexey Plotnik odiszapc

  • North Sahara
View GitHub Profile
# 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