[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: view output of process while



On Thu, 2002-04-18 at 01:05, Jamin W.Collins wrote:
> On Wed, 24 Apr 2002 13:22:18 +0000
> "Rory Campbell-Lange" <rory@campbell-lange.net> wrote:
> 
> > Is it possible to log back into a machine over ssh and 'attach' to a
> > running process so that one can see the output of, say, a kernel
> > compile?
> 
> I would think it would be easier to redirect the output (stdout and
> stderr) to a log file and log back in via ssh and tail the file (something
> like "tail -f kernel-compile.log").

If you run your task like this:

$ nohup mytask &

Console output goes to a file called nohup.out, which you can then look
at periodically with a pager or tail.

Regards

Peter.
 
-- 
Peter Whysall
peter.whysall@ntlworld.moc
The TLD in my email address is sdrawkcab.
Debian GNU/Linux 3.0 sid -- kernel 2.4.18

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: