It is currently Tue, 07 Dec 2021 02:27:44 GMT

Author Message
 runtime stdout redirect.
Can someone tell me if possible, how I can redirect the stdout/stderr
output of an active process?  I am using Solaris 8.

 Sun, 04 Dec 2005 10:47:31 GMT   
 runtime stdout redirect.
In article <>,

You can't do it from outside the process.  The application has to provide a
way to tell it to do it itself.

Barry Margolin,
Level(3), Woburn, MA
Please DON'T copy followups to me -- I'll assume it wasn't posted to the group.

 Sun, 04 Dec 2005 22:56:01 GMT   
 runtime stdout redirect.
In article <54%Ha.10$>, says...
Theoretically it can go actually (I will try first).
The Idea is to steal address (of course as a root) of output buffer
 via (Proc->UArea->File->Vnode->Write buffer) and to change it with our
current (like the address of file descriptor 1 (stdout) of selected
process is replaced by a file descriptor of our current. Of course,
there would be some other peek&pokes, like buffer size, etc..

 Tue, 06 Dec 2005 12:57:53 GMT   
   [ 3 post ] 

Similar Threads

1. redirecting STDOUT of a bg process to STDOUT of a new xterm

2. Redirect an application display at runtime

3. How to redirect from dialer-script to stdout?

4. redirecting stdout to file over NFS slows dramatically

5. redirected stdout?

6. Problem redirecting stdout to pipes/files

7. how to bash redirect stdout stderr without buffering

8. Redirecting the stdout of a running process?

9. Redirect stdout and stderr....

10. redirecting stdin & stdout of a running process

Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.
Designed by ST Software