nodetool自动监控bootstrapping\repairing\rebuilding进度
不用其他监控套件,只是用nodetool工具借助netstats指令简单的监控收发数据流进度:
1 | watch -n 10 'nodetool netstats | grep "Receiving\|Sending" | gawk {'"'"' print $1" - "$11/$4*100"% Complete, "($4-$11)/1024/1024/1024" GB remaining" '"'"'}' |
References:
[1]On Cassandra Stream Monitoring