From owner-freebsd-questions@FreeBSD.ORG Thu May 1 17:53:55 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 562A437B401 for ; Thu, 1 May 2003 17:53:55 -0700 (PDT) Received: from adsl-64-161-78-226.dsl.lsan03.pacbell.net (adsl-64-161-78-226.dsl.lsan03.pacbell.net [64.161.78.226]) by mx1.FreeBSD.org (Postfix) with SMTP id A1D5643F85 for ; Thu, 1 May 2003 17:53:54 -0700 (PDT) (envelope-from oremanj@adsl-64-161-78-226.dsl.lsan03.pacbell.net) Received: (qmail 26139 invoked by uid 1001); 2 May 2003 00:54:10 -0000 Date: Thu, 1 May 2003 17:54:10 -0700 From: Joshua Oreman To: james_mapson@museum.rain.com Message-ID: <20030502005410.GD63276@webserver.get-linux.org> References: <3EB13FE5.5372.1B4CC40@localhost> <20030501174011.A96504@ns.museum.rain.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20030501174011.A96504@ns.museum.rain.com> User-Agent: Mutt/1.4i cc: questions@freebsd.org Subject: Re: Remote upgrade X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 02 May 2003 00:53:55 -0000 On Thu, May 01, 2003 at 05:40:11PM -0700 or thereabouts, James Long seemed to write: > 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. But some shells will kill background processes when they log out. Either: * Put `nohup ' in front of the `make' line * Run `disown' right after putting it in the background Note: csh and tcsh users don't need to worry about this. HTH, -- Josh > > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"