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 <3ikvevknrkicphhqq1tfas3u4el570u...@4ax.com>,

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, barry.margo...@level3.com
Level(3), Woburn, MA
*** DON'T SEND TECHNICAL QUESTIONS DIRECTLY TO ME, post them to newsgroups.
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$Be3.2...@paloalto-snr1.gtei.net>,
barry.margo...@level3.com 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