| ||||||
| 5/20 |
| 2004/12/13-14 [Computer/SW/Unix] UID:35274 Activity:nil |
12/13 Say you have a background process currently running and spewing output
to stdout under tcsh. Is it possible to redirect the output to another
(file) location without killing and restarting the process? thnx.
\_ This worked on freebsd for me. Stop the process (^Z) then:
# tty
/dev/ttyN2
(in another session):
# cat /dev/ttyN2 > output
(in the first session):
# fg
Then when you want to stop this "logging", send an EOF to the first
session. YMMV --scotsman |