-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathoverAllMnStat.sh
executable file
·49 lines (37 loc) · 1.71 KB
/
overAllMnStat.sh
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
#find /root/mnTroubleshoot -name '*_getInfo.sh' > allGetInfo.sh
##cat allGetInfo.sh
#chmod +x allGetInfo.sh
#./allGetInfo.sh | grep blocks
#find /root/mnTroubleshoot -name '*runSentinelToSeeOutput.sh' > allGetSentinelInfo.sh
##cat allGetSentinelInfo.sh
#chmod +x allGetSentinelInfo.sh
#./allGetSentinelInfo.sh
echo "====================START================================="
uptime
df -h
echo "----------------------------------------------------------"
find /root/mnTroubleshoot -name '*_getInfo.sh' | sort | while read program; do
echo "--- $program"
$program | grep blocks
done
find /root/mnTroubleshoot -name '*_getBlockCountFromExplorer.sh' | sort | while read program; do
echo "--- $program"
$program; echo " "
done
find /root/mnTroubleshoot -name '*sync_status.sh' | sort | while read program; do
echo "--- $program"
echo "If synced -- AssetID should be 999"
$program | grep Asset
done
find /root/mnTroubleshoot -name '*masternode_status.sh' | sort | while read program; do
echo "--- $program"
echo "If synced should be: -- Masternode successfully started or status is 4"
$program | grep status
done
find /root/mnTroubleshoot -name '*runSentinelToSeeOutput.sh' | sort | while read program; do
echo "--- $program"
echo "Any SENTINEL issues will be listed below:"
$program
echo "--END (if nothing then Sentinel found no error)"
done
echo "====================END================================="