also:
- Code: Select all
screen -list
will show you the RUNNING scripts (these are the decisionmakers). if you watch them, they will tell you what they are doing. you can also modify the keepalive script to invoke these screens in debug mode and even to slow them down a little while debugging. to get the name of the script running inside each screen, you can look at the keepalive script or check htop.
to WATCH a screen running
- Code: Select all
screen -r XXXX
replace XXXX with the name of a screen
to EXIT without stopping the script
[ctrl-A][D] (as in hold control, press a, then press d)
to STOP a script so you can reload it in debug mode, WATCH it and while you are in it press [ctrl-c] (as in hold control and hit c). This will stop it, and the keepalive will start it back up with the new command line in under a minute.