-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.screenrc-rlh
68 lines (53 loc) · 3.07 KB
/
.screenrc-rlh
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
#http://www4.informatik.uni-erlangen.de/~jnweiger/screen-faq.html
#http://taint.org/wk/RemoteLoginAutoScreen
escape ^Ww
# https://bbs.archlinux.org/viewtopic.php?id=67464
term xterm-256color
termcap xterm 'XT'
terminfo xterm 'XT'
termcapinfo xterm ti@:te@
#???#termcapinfo xterm 'bc@:bs@'
altscreen on
# http://aperiodic.net/screen/commands:hardstatus
#hardstatus alwayslastline '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
hardstatus alwayslastline
# http://screen.frogcircus.org/remote
zombie ko
deflog on
logfile /home/pasha/.screen-logs/screenlog.%H
#mousetrack on
#http://linsovet.com/content/%D0%B7%D0%B0%D0%B9%D1%82%D0%B8-%D0%B2-screen-%D0%BD%D0%B0-%D1%83%D0%B4%D0%B0%D0%BB%D1%91%D0%BD%D0%BD%D0%BE%D0%B9-%D1%81%D0%B8%D1%81%D1%82%D0%B5%D0%BC%D0%B5#comment-2017
screen -t '------- PRODUCTION apps:'
screen -M -t rlh.app.balance bash -o history -c 'sshs rlh.app.balance'
screen -M -t rlh.app.node1 bash -o history -c 'sshs rlh.app.node1'
screen -M -t rlh.app.node2 bash -o history -c 'sshs rlh.app.node2'
screen -M -t rlh.app.node3 bash -o history -c 'sshs rlh.app.node3'
screen -t '------- PRODUCTION DBs:'
screen -M -t rlh.db.master bash -o history -c 'sshs rlh.db.master'
screen -M -t rlh.db.slave bash -o history -c 'sshs rlh.db.slave'
screen -M -t rlh.db.slave2 bash -o history -c 'sshs rlh.db.slave2'
screen -M -t rlh.db.slave3 bash -o history -c 'sshs rlh.db.slave3'
screen -M -t rlh.db.slave4 bash -o history -c 'sshs rlh.db.slave4'
screen -t '------- Performance test:'
screen -M -t perf@rlh.db.slave bash -o history -c 'sshs perf@rlh.db.slave'
screen -t '------- Perf apps:'
screen -M -t 'rlh.perf.app.balance(perf.monitor)' bash -o history -c 'sshs rlh.perf.app.balance'
screen -M -t rlh.perf.app.node1 bash -o history -c 'sshs rlh.perf.app.node1'
screen -M -t rlh.perf.app.node2 bash -o history -c 'sshs rlh.perf.app.node2'
screen -t '------- Perf DB:'
#screen -M -t rlh.db.balancer bash -o history -c 'sshs rlh.db.balancer'
screen -M -t rlh.perf.db.master bash -o history -c 'sshs rlh.perf.db.master'
#screen -M -t rlh.perf.db.balancer bash -o history -c 'sshs rlh.perf.db.balancer'
#screen -M -t rlh.perf.db.slave1 bash -o history -c 'sshs rlh.perf.db.slave1'
screen -t '------- PRODUCTION others:'
screen -M -t rlh.ftp bash -o history -c 'sshs rlh.ftp'
screen -M -t rlh.monitor bash -o history -c 'sshs rlh.monitor'
screen -M -t rlh.main.log bash -o history -c 'sshs rlh.main.log'
screen -M -t rlh.cms bash -o history -c 'sshs rlh.cms'
screen -t '------- K8S cluster:'
screen -M -t master1.k8s.rlh.lesegais.com bash -o history -c 'sshs master1.k8s.rlh.lesegais.com'
screen -M -t master2.k8s.rlh.lesegais.com bash -o history -c 'sshs master2.k8s.rlh.lesegais.com'
screen -M -t node1.k8s.rlh.lesegais.com bash -o history -c 'sshs node1.k8s.rlh.lesegais.com'
screen -M -t node2.k8s.rlh.lesegais.com bash -o history -c 'sshs node2.k8s.rlh.lesegais.com'
screen -M -t node3.k8s.rlh.lesegais.com bash -o history -c 'sshs node3.k8s.rlh.lesegais.com'
screen -M -t node4.k8s.rlh.lesegais.com bash -o history -c 'sshs node4.k8s.rlh.lesegais.com'