* FWD: [SATLUG] stdout redirection
@ 2002-06-28 22:48 David Jackson
0 siblings, 0 replies; only message in thread
From: David Jackson @ 2002-06-28 22:48 UTC (permalink / raw)
To: Linux-Admin
This was posted to the San Antonio LUG group.
Any comments, suggestion to help this poor soul out.
David J
---------- Original Message ----------------------------------
From: mikewallace@softhome.net
Reply-To: satlug@satlug.org
Date: Wed, 26 Jun 2002 22:01:05 -0600
I've just written a program which is dumping various debugging information
to stdout. When I started the program running I forgot to add the pipe to
tee to also save the output in a file. So, armed with only the process id
of the program in question, is there a way that I can redirect stdout to
also go to a file without having to kill my program and restart it?
Basically, I want to attach a pipe to a program which is already executing.
Normally I'd just kill the process and restart it with the pipe to tee, but
I'm processing a huge chunk of data and I don't want to stop it in the
middle of it's execution.
Mike
_______________________________________________
Satlug mailing list
Satlug@satlug.org
http://alamo.satlug.org/mailman/listinfo/satlug
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-06-28 22:48 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-06-28 22:48 FWD: [SATLUG] stdout redirection David Jackson
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).