Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 1 May 2003 17:40:11 -0700
From:      James Long <list@museum.rain.com>
To:        boxend@swbell.net
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Remote upgrade
Message-ID:  <20030501174011.A96504@ns.museum.rain.com>
In-Reply-To: <3EB13FE5.5372.1B4CC40@localhost>; from boxend@swbell.net on Thu, May 01, 2003 at 03:40:21PM -0500
References:  <3EB13FE5.5372.1B4CC40@localhost>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, May 01, 2003 at 03:40:21PM -0500, boxend@swbell.net wrote:
> When doing a remote upgrade, what is the best way to force the process into the 
> background, in case the dialup line for ssh session dies before buildworld finishes.


Ensure that /tmp/ has free space to hold a few Megabytes of output, and use:

# make buildworld >/tmp/make_bw.out 2>&1 &

Then you can monitor the progress of the make by examining /tmp/make_bw.out

# tail -f /tmp/make_bw.out

Control-C will terminate tail, and return you to a shell prompt,
while the make continues to run in the background.

This is not as sophisticated as using screen, but simpler, and does
not require installing any additional software.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501174011.A96504>