-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheight_concurrent_localAndAkv.sh
executable file
·78 lines (52 loc) · 1.92 KB
/
eight_concurrent_localAndAkv.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#!/bin/bash
session="tests4"
# set up tmux
tmux start-server
# create a new tmux session, starting vim from a saved session in the new window
tmux new-session -d -s $session
# Select pane 1, set dir to api, run vim
tmux selectp -t 1
# Split pane 1 horizontal by 50%
tmux splitw -h -p 50
# Select pane 2
tmux selectp -t 2
# Split pane 2 vertically by 50%
tmux splitw -v -p 50
# select pane 0, set to api root
tmux selectp -t 0
# Split pane 3 vertically by 50%
tmux splitw -v -p 50
# select pane 0, set to api root
tmux selectp -t 0
# Split pane 3 vertically by 50%
tmux splitw -v -p 50
# select pane 0, set to api root
tmux selectp -t 2
# Split pane 3 vertically by 50%
tmux splitw -v -p 50
# select pane 0, set to api root
tmux selectp -t 4
# Split pane 3 vertically by 50%
tmux splitw -v -p 50
# select pane 0, set to api root
tmux selectp -t 6
# Split pane 3 vertically by 50%
tmux splitw -v -p 50
tmux selectp -t 0
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 akv santander http://52.157.68.69:8545" C-m
tmux selectp -t 1
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 akv bbva http://40.68.120.93:8545" C-m
tmux selectp -t 2
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 akv bankia http://13.80.45.53:8545" C-m
tmux selectp -t 3
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 akv test http://52.166.19.166:8545" C-m
tmux selectp -t 4
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 local local1 http://51.124.166.42:8545" C-m
tmux selectp -t 5
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 local local2 http://13.95.104.31:8545" C-m
tmux selectp -t 6
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 local local3 http://52.232.16.182:8545" C-m
tmux selectp -t 7
tmux send-keys "python3 akv_ethereum_signing.py deploy 100 local local4 http://52.232.16.182:8545" C-m
# Finished setup, attach to the tmux session!
tmux attach-session -t $session