[lug] Is there a way to get output once it's been redirected to /dev/null?

Jeff blug4 at sirveiss.com
Sat Jun 26 16:38:09 MDT 2010


Hi,

I looked into this a while back and found this link:

http://etbe.coker.com.au/2008/02/27/redirecting-output-from-a-running-process/

Thank you very much!

-Jeff

NOTE: Any personal or contact information is not to be
      sold or used for solicitation.

On Fri, 25 Jun 2010, Jeffrey Haemer wrote:

> Earlier today, someone came to me with a problem.  I couldn't think of a way to solve it, but I believe a
> logician would rule that "argumentum imagi pauco" ("Proof by Lack of Imagination.")
> He was logged in to an embedded box on a customer site, trying to debug a problem with a running daemon.
>  The daemon had been started with stdout, and stderr both redirected to /dev/null.
>
> "Is there a way," he asked, "to redirect and capture the output without restarting the daemon?"
>
> I can probably even argue why there *couldn't possibly* be a way to solve it, so that only a moron would
> think about the problem: "argumentum ad territo" ("Proof by Intimidation.")
>
> Ideas?  Suggestions?
>
> --
> Jeffrey Haemer <jeffrey.haemer at gmail.com>
> 720-837-8908 [cell],  @goyishekop [twitter]
> http://seejeffrun.blogspot.com [blog], http://www.youtube.com/user/goyishekop [vlog]
>
>
>
>



More information about the LUG mailing list