Quantcast
Viewing all articles
Browse latest Browse all 34

Monitor Esplora/Electrs compaction process

progress-compaction.sh
#!/bin/bash
MOUNTPOINT="/mnt/ext"
DISK="/dev/sda1"
echo""
echo"-------------------------------------------------------------------------------- DISK SPACE USED/REMAINING"
df -m | head -n 1 ; df -m | grep "$DISK"
df -H | head -n 1 ; df -H | grep "$DISK"
echo"-------------------------------------------------------------------------------- DISK I/O"
echo""
iostat $DISK| grep "Device" -A 1
echo""
echo"-------------------------------------------------------------------------------- FREE MEMORY"
free -m
echo""
echo"-------------------------------------------------------------------------------- logs/electrs/current"
tail -n 5 $MOUNTPOINT/esplora/logs/electrs/current
echo""
echo"-------------------------------------------------------------------------------- electrs_bitcoin_db/mainnet/mainnet/newindex/history/LOG"
tail -n 30 $MOUNTPOINT/esplora/electrs_bitcoin_db/mainnet/mainnet/newindex/history/LOG
echo""

Viewing all articles
Browse latest Browse all 34

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>