From mboxrd@z Thu Jan 1 00:00:00 1970 From: "David Jackson" Subject: FWD: [SATLUG] stdout redirection Date: Fri, 28 Jun 2002 16:48:37 -0600 Sender: linux-admin-owner@vger.kernel.org Message-ID: <200206281648.AA1025376576@wcox.com> Reply-To: Mime-Version: 1.0 Return-path: List-Id: Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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