DISCUSSION: Using the screen package
This thread is to discuss the article titled: Using the screen package
|
Nice write up.
Can't wait to try it! |
What an absolutely brilliant tool.
|
Great
I use ssh to my linux boxes constantly, even though I also use freenx occaisionally also.
I feel like a goon because I never knew about screen and was always backgrounding processes... Screen is a great tool! Thanks for the write up. |
Is there a way (using f.e. an entry in .screenrc file, or some other way) to log an entire screen session to file?
|
Screen has another potentially indispensable feature that is too seldom documented: multiuser mode. When appropriately configured, you can start up screen sessions that can be attached to by other users. Of course, there are access controls that allow you to configure who can attach and what rights they have.
In my work, this is heavily used to run processes that are intended to run perpetually, and that also have an interactive aspect. Anyone in my work group needs to be able to monitor these processes, and there are often numerous such processes running concurrently. We even have a GUI utility written in Perl/Tk that allows users to easily find, select, and open existing sessions or start new screen sessions. I can envision other purposes, such as making a terminal session visible to all members of a 'classroom' (where the class could consist of remotely logged-in students). Your example of 'backgrounding' long-running processes is a good one. Sometimes I will start up such a process, like a kernel build, at work, and then go home for the day. At home, I can check in by logging in with SSH, and re-attach to the screen session to monitor its progress. |
All times are GMT -5. The time now is 02:56 PM. |