Created
May 2, 2014 02:29
-
-
Save codeck/144265496942f5c43c5d to your computer and use it in GitHub Desktop.
bash command to monitor rippled ledger fetching progresss
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
#/bin/bash | |
# | |
#command to monitor a rippled stared by `./rippled --fg --net` with "full ledger_history" config | |
# | |
while [ 1 ]; | |
do ./rippled -q server_info|grep "complete_ledger"|egrep -o '[[:digit:]]*'|head -n1|xargs -I{} ./rippled -q ledger {} |grep close_time_human; | |
sleep 5; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment