-
Notifications
You must be signed in to change notification settings - Fork 0
/
automation-monitor-2.sh
50 lines (42 loc) · 1.37 KB
/
automation-monitor-2.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
#!/bin/sh
# new and improved version of automation-monitor
#### portrait
tmux new-session -d -s foo 'htop'
tmux rename-window 'Foo'
tmux select-window -t foo:0
tmux set-window-option remain-on-exit on
tmux split-window -v 'tail -f /var/log/archivematica/automate-transfer.log'
tmux resize-pane -U 28
tmux split-window -v 'man top'
tmux resize-pane -U 28
tmux split-window -v 'watch -n100 df -h'
tmux resize-pane -U 22
tmux split-window -v "watch -n100000 df -h"
tmux resize-pane -U 18
tmux split-window -v 'watch -n100 ls /home/archivesuser'
tmux select-pane -t 3
tmux split-window -h 'bash part2.sh'
tmux resize-pane -L 25
tmux select-pane -t 6
tmux resize-pane -U 6
tmux split-window -h 'watch -n100 ls /home/archivesuser/dam02'
tmux resize-pane -R 26
tmux set -g pane-border-style fg=black
tmux set -g pane-active-border-style fg=black
tmux -2 attach-session -t foo
#### landscape
# tmux new-session -d -s foo 'htop'
# tmux rename-window 'Foo'
# tmux select-window -t foo:0
# tmux split-window -v 'watch -n1 bash part2.sh'
# tmux split-window -h 'top'
# tmux resize-pane -U 10
# tmux resize-pane -R 25
# tmux select-pane -t 1
# tmux split-window -v 'man top'
# tmux resize-pane -U 10
# tmux split-window -v 'watch -n100 df -h' #disk monitoring
# tmux resize-pane -U 5
# tmux -2 attach-session -t foo
# tmux set -g pane-border-style fg=black
# tmux set -g pane-active-border-style fg=black