Editing
Screen
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
= Screen Organization = At JohnCompanies, we currently run a main screen with 10 windows, each window having between 2 and 10 (or more) nested windows inside of it. The main johncompanies server which hosts all the screens is simply nat.johncompanies.com (or 69.55.233.195). Simply ssh as your user to nat.johncompanies.com, and your home directory will contain the "dr" (or 'hr') script for reattaching. The window organization is roughly as follows (the actual way you organize your screens is up to you, this is the organization for the user 'user'): <pre> Window 0: 0 - info@johncompanies.com pine inbox 1 - support@johncompanies.com pine inbox 2 - payments@johncompanies.com (or sales@) pine inbox 3 - linux@johncompanies.com pine inbox Window 1: 0 - johncompanies.com root shell, pwd = /usr/local/www/jc_pub/data 1 - johncompanies.com root shell, mysql 2 - johncompanies.com root shell, running tail -f /usr/local/www/signup/ipn.log 3 - johncompanies.com root shell, pwd = /usr/local/www/scripts - dev windows used by dave - 4 - devweb.johncompanies.com root shell, pwd = /usr/www 5 - devweb.johncompanies.com root shell, mysql 6 - devweb.johncompanies.com root shell, root shell 7 - devweb.johncompanies.com root shell, root shell Window 2: 0 - ns1c.johncompanies.com root shell, pwd = /etc/namedb/s 1 - ns2c.johncompanies.com root shell, pwd = /etc/namedb/s 2 - firewall root shell [69.55.230.1] 3 - backup1 root shell 4 - backup2 root shell 5 - backup1 root shell 6 - backup1 root shell, mysql Window 3: 1 - jail1 root shell 2 - jail2 root shell 7 - jail7 root shell 8 - jail8 root shell 9 - jail9 root shell Window 4: 0 - mx1 root shell 1 - jail11 root shell 3 - mx2 root shell 6 - jail16 root shell 7 - jail17 root shell 8 - jail18 root shell 9 - jail19 root shell Window 5: 0 - quar1 root shell 9 - virt9 root shell Window 6: 1 - virt11 root shell 2 - virt12 root shell 3 - virt13 root shell 5 - virt15 root shell 6 - virt16 root shell 7 - virt17 root shell 9 - virt19 root shell Window 7: (log in as user console) (note- order of "O" windows may not always be accurate. Simply cycle through them till you find the server you want with the sequence: ctrl-o n) P0: O0 - 3750 O1 - switch-p1a O2 - switch-p1b O3 - switch-mx1 O4 - switch-mx2 O5 - switch-3550 O6 - switch-p1 O7 - switch-p3 O8 - switch-p4 O9 - switch-p13 O10 - switch-p16 O11 - switch-p17 P1: O0 - nat O1 - mail O2 - bwdb O3 - backup1 O4 - backup2 O5 - firewall (live firewall) O6 - gate (backup firewall) P2: O0 - jail1 serial console O1 - jail2 serial console O2 - jail3 serial console O3 - jail7 serial console O4 - jail8 serial console O5 - jail9 serial console P3: O0 - mx1 serial console O1 - mx2 serial console O2 - jail11 serial console O2 - jail17 serial console O3 - jail18 serial console O4 - jail19 serial console P4: O0 - quar1 serial console O1 - virt9 serial console O2 - virt11 serial console O3 - virt12 serial console O4 - virt13 serial console O5 - virt15 serial console O6 - virt16 serial console O7 - virt17 serial console O8 - virt19 serial console P5: (i2b) O0 - switch-p20 O1 - switch-p21 O2 - switch-p22 O3 - switch-p23 O4 - switch-p24 O5 - switch-p25 O6 - switch-p26 O7 - switch-p27 O8 - nat2 O9 - firewall2 O10 - backup3 O11 - bwdb2 P6: (spare @ castle) Window 9: 1 - backup2 root shell - spare window for exec quad/safe 2 - backup2 root shell - spare window for exec quad/safe 3 - backup2 root shell - spare window for exec quad/safe 4 - backup2 root shell - spare window for exec quad/safe </pre> Window 0 is usually split into 2 panes to allow easy viewing of the 2 support queues. To move between them, ctrl-p, then the tab key. To un-split the panes, ctrl-p then Q. To resplit the screen, ctrl-p , then S Some of the windows have a nested window of zero with nothing in it ... this is because they are numbered based on machine name ... window 1 is jail1, and so on, but of course you need to have a window 0 ... so it just sits empty. On the console screen server (sun), we've also fully automated console screen creation on the console server. Login as console and execute /home/screen/startconsoles NOTE: *** only execute startconsoles if there are currently no consoles running *** if you run startconsoles while other consoles are running you'll end up with a big mess. TODO: update this script To disconnect from a serial console session, hit CR to get to a blank line (regardless of screen echo) and hit ~~. (2 tildeโs and a period, CR)
Summary:
Please note that all contributions to JCWiki may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see
JCWiki:Copyrights
for details).
Do not submit copyrighted work without permission!
Cancel
Editing help
(opens in new window)
Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
Page
Discussion
English
Views
Read
Edit
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
What links here
Related changes
Special pages
Page information