-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.screenrc-egais
72 lines (57 loc) · 3.48 KB
/
.screenrc-egais
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
#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 'egais.app.balance(swarm master)' bash -o history -c 'sshs egais.app.balance'
screen -M -t egais.app.node1 bash -o history -c 'sshs egais.app.node1'
screen -M -t 'egais.app.node2(swarm node1)' bash -o history -c 'sshs egais.app.node2'
screen -t '------- PRODUCTION DBs:'
screen -M -t 'egais.db.balancer' bash -o history -c 'sshs egais.db.balancer'
screen -M -t egais.db.master bash -o history -c 'sshs egais.db.master'
screen -M -t 'egais.db.slave(swarm node2)' bash -o history -c 'sshs egais.db.slave'
screen -M -t egais.db.slave2 bash -o history -c 'sshs egais.db.slave2'
screen -M -t egais.db.slave3 bash -o history -c 'sshs egais.db.slave3'
screen -M -t egais.db.slave4 bash -o history -c 'sshs egais.db.slave4'
screen -t '------- Performance test:'
screen -M -t [email protected] bash -o history -c 'sshs [email protected]'
screen -t '------- Perf apps:'
screen -M -t 'egais.perf.app.balance(perf.monitor)' bash -o history -c 'sshs egais.perf.app.balance'
screen -M -t egais.perf.app.node1 bash -o history -c 'sshs egais.perf.app.node1'
screen -M -t egais.perf.app.node2 bash -o history -c 'sshs egais.perf.app.node2'
screen -t '------- Perf DB:'
screen -M -t egais.perf.db.balancer bash -o history -c 'sshs egais.perf.db.balancer'
screen -M -t egais.perf.db.master bash -o history -c 'sshs egais.perf.db.master'
#screen -M -t egais.perf.db.balancer bash -o history -c 'sshs egais.perf.db.balancer'
screen -M -t egais.perf.db.slave bash -o history -c 'sshs egais.perf.db.slave1'
screen -t '------- PRODUCTION others:'
screen -M -t egais.ftp bash -o history -c 'sshs egais.ftp'
screen -M -t egais.monitor bash -o history -c 'sshs egais.monitor'
screen -M -t egais.main.log bash -o history -c 'sshs egais.main.log'
#screen -M -t egais.cms bash -o history -c 'sshs egais.cms'
screen -t '------- Taskdata local:'
screen -M -t 'server1(dev/qa/support)' bash -o history -c 'sshs server1'
screen -M -t 'taskdata.ci' bash -o history -c 'sshs taskdata.ci'
screen -t '------- ALO k8s:'
screen -M -t 'master1.k8s.alo.lesegais.com' bash -o history -c 'sshs master1.k8s.alo.lesegais.com'
screen -M -t 'master2.k8s.alo.lesegais.com' bash -o history -c 'sshs master2.k8s.alo.lesegais.com'
screen -M -t 'node1.k8s.alo.lesegais.com' bash -o history -c 'sshs node1.k8s.alo.lesegais.com'
screen -M -t 'node2.k8s.alo.lesegais.com' bash -o history -c 'sshs node2.k8s.alo.lesegais.com'
screen -M -t 'node3.k8s.alo.lesegais.com' bash -o history -c 'sshs node3.k8s.alo.lesegais.com'
screen -M -t 'node4.k8s.alo.lesegais.com' bash -o history -c 'sshs node4.k8s.alo.lesegais.com'
screen -M -t 'node7.k8s.alo.lesegais.com' bash -o history -c 'sshs node7.k8s.alo.lesegais.com'