Re: how to let the remote server continuously run while I shut down local telnet client?
- From: Tyler McHenry <tyler@xxxxxxxxxxxx>
- Date: Fri, 30 Jun 2006 11:22:49 -0700
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
I hereby accuse Joe Beanfish of stating:
gino wrote:
I wont' be able to resume to that particular session? I really want to
see the results/graphs interactively...
I think "screen" will let you detach and later reattach from somewhere
else.
This is exactly what you want. Install screen, then when you want to start a
resumeable session, type "screen" first to enter screen's virtual terminal.
Then use is as if you were using your normal command line.
You can "detach" the screen session at any time by pressing ^A (the screen
escape key) and then D (for Detach). Screen and any processes started
within it continue running in the background. You can log out and they will
keep going.
When you want to reattach the screen session later, simply
execute "screen -r". Much like the fg/bg commands, you can have multiple
sessions going at once, so -r takes a numeric argument indicating the
session number.
Since a screen session can only be attached in one place at a time, screen
also allows you to forcibly detach a session of yours that is running on
some other terminal by using "screen -d". This is useful for resuming your
session if your connection drops before you have a chance to gracefully
detach your session.
Two things screen cannot do:
- sessions cannot persist across reboots (it's not a virtual machine or
anything!)
- cannot detach/reattach X windows
So if you're doing this in a GUI, screen is not going to work for you, but
if this is a CLI process, it's exactly what you want.
Note that screen also does nifty things like splitting terminals into
Emacs-esque "windows" and such. Read its man page.
- --
S. Tyler McHenry
http://www.nerdland.net/~tyler/info/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFEpWwFyhIpIIGf1i4RAgq1AJ9w02ixrtp4b3w9vQcQKdxeQfxm0QCgjCJs
7f1bDOx6NBy4uk9NKBrE7hg=
=zDaJ
-----END PGP SIGNATURE-----
.
- Follow-Ups:
- References:
- how to let the remote server continuously run while I shut down local telnet client?
- From: gino
- Re: how to let the remote server continuously run while I shut down local telnet client?
- From: Giovanni
- Re: how to let the remote server continuously run while I shut down local telnet client?
- From: gino
- Re: how to let the remote server continuously run while I shut down local telnet client?
- From: Joe Beanfish
- how to let the remote server continuously run while I shut down local telnet client?
- Prev by Date: Re: don't want to type
- Next by Date: Re: don't want to type
- Previous by thread: Re: how to let the remote server continuously run while I shut down local telnet client?
- Next by thread: Re: how to let the remote server continuously run while I shut down local telnet client?
- Index(es):
Relevant Pages
|