From owner-freebsd-questions Fri Mar 14 17:59: 7 2003 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 674C437B401 for ; Fri, 14 Mar 2003 17:59:05 -0800 (PST) Received: from wantadilla.lemis.com (wantadilla.lemis.com [192.109.197.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id A9CB743F85 for ; Fri, 14 Mar 2003 17:59:03 -0800 (PST) (envelope-from grog@lemis.com) Received: by wantadilla.lemis.com (Postfix, from userid 1004) id 61A1E51A58; Sat, 15 Mar 2003 12:29:01 +1030 (CST) Date: Sat, 15 Mar 2003 12:29:01 +1030 From: Greg 'groggy' Lehey To: Daxbert Cc: questions@freebsd.org Subject: Re: Force core, then reload Message-ID: <20030315015901.GF90698@wantadilla.lemis.com> References: <1047692099.3e728343c7c3f@ra.dweebsoft.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="1Y7d0dPL928TPQbc" Content-Disposition: inline In-Reply-To: <1047692099.3e728343c7c3f@ra.dweebsoft.com> User-Agent: Mutt/1.4i Organization: The FreeBSD Project Phone: +61-8-8388-8286 Fax: +61-8-8388-8725 Mobile: +61-418-838-708 WWW-Home-Page: http://www.FreeBSD.org/ X-PGP-Fingerprint: 9A1B 8202 BCCE B846 F92F 09AC 22E6 F290 507A 4223 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --1Y7d0dPL928TPQbc Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Friday, 14 March 2003 at 17:34:59 -0800, Daxbert wrote: > > I'm looking to force a FreeBSD process to core, write it's core dump to disk, > then at a later date, reload the image, and resume from where it left off. > > I know it's possible to force an application to core, but I'm not so certain > about the reload and execute part. Is this even remotely possible? Not currently. The core dump doesn't contain a lot of state information which you would need to resume execution. In some cases, it's completely impossible. How do you reinstate a network connection, for example? Greg -- When replying to this message, please copy the original recipients. If you don't, I may ignore the reply or reply to the original recipients. For more information, see http://www.lemis.com/questions.html See complete headers for address and phone numbers --1Y7d0dPL928TPQbc Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.0 (FreeBSD) iD8DBQE+cojlIubykFB6QiMRAiwsAJ9xTfh6cxJZN4TbHHDrpzVYpxGdtgCfaOKK x6Wo/M5vQZlG9VOmdpemKh0= =vim6 -----END PGP SIGNATURE----- --1Y7d0dPL928TPQbc-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message