[GLLUG] tapping shells

N N Ashok nalkunda@egr.msu.edu
Wed, 7 May 2003 20:01:37 -0400


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


One solution could be to redirect the stdout and the stderr to files. Then 
when you want to check the status, you could do a tail on that file.
'tail -f <file>' should allow you to monitor the progress.
Redirection:
	program 2>error.log 1>output.log &


Hope that helps.
Ashok


On Wednesday 07 May 2003 18:49, Mike Szumlinski scrawled:
> I think I tried this once with a half-life server and the screen
> program.  Now, I don't remember how the hell I did it, but I remember
> it sort of worked.  I have nothing more for you than "man screen".
> Sorry.
>
> -Mike
>
> On Wednesday, May 7, 2003, at 06:19 PM, Stuart C wrote:
> > ok i dont even know if this is possible but i figure its atleast worth
> > asking.  I am running a server application that when started spits
> > information to the console that its started in.  say i want to leave
> > this running on my headless linux system, yet i want to be able to tap
> > into, if you will, the TTY or shell or whatever the application spits
> > output too.  So id be able to temporarily be able to see what was
> > going on in the server app when needed.  is this feasible? thanks for
> > any help.
> >
> >                                    - Stuart
>
> _______________________________________________
> linux-user mailing list
> linux-user@egr.msu.edu
> http://www.egr.msu.edu/mailman/listinfo/linux-user
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE+uZ5hRhXpVty0Ty4RAoDmAJ9hJeMN++RLp/bq5WI+KpToGm18lgCggTiv
s87evhkTmoejsjj2rwNDXDc=
=IutT
-----END PGP SIGNATURE-----