Skip to content

Instantly share code, notes, and snippets.

@chrislovecnm
Last active August 29, 2015 14:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save chrislovecnm/35564ef8ec957afb3d0c to your computer and use it in GitHub Desktop.
Save chrislovecnm/35564ef8ec957afb3d0c to your computer and use it in GitHub Desktop.
Monitoring netstats - one lines
while true; do echo "$(nodetool netstats | grep Receiving)"; echo " Finished $(nodetool netstats | grep data | grep cassandr | wc -l)"; echo "$(nodetool netstats | grep -v 100% | grep data)";echo "--------" && sleep 30; done;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment