-
Notifications
You must be signed in to change notification settings - Fork 13
/
check.sh
52 lines (45 loc) · 861 Bytes
/
check.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
50
51
52
#!/bin/bash
node1=
node2=
node3=
node4=
node5=
echo "Starting node check"
echo
echo -e "1) $node1 \c"
$node1 masternode status
echo -e "Blocks: \c"
$node1 getblockcount
echo -e "Connections: \c"
$node1 getconnectioncount
echo
echo -e "2) $node2 \c"
$node2 masternode status
echo -e "Blocks: \c"
$node2 getblockcount
echo -e "Connections: \c"
$node2 getconnectioncount
echo
echo -e "3) $node3 \c"
$node3 masternode status
echo -e "Blocks: \c"
$node3 getblockcount
echo -e "Connections: \c"
$node3 getconnectioncount
echo
echo -e "4) $node4 \c"
$node4 masternode status
echo -e "Blocks: \c"
$node4 getblockcount
echo -e "Connections: \c"
$node4 getconnectioncount
echo
echo -e "5) $node5 \c"
$node5 masternode status
echo -e "Blocks: \c"
$node5 getblockcount
echo -e "Connections: \c"
$node5 getconnectioncount
echo
echo
echo "Node check completed"