tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Rene Demian Taboada Arias <rta () aixulsa ! ulsa ! mx>
To: tru64-unix-managers
Subject: [SUMMARY] : How to stop and restart process in between boot...
Date: Wed, 02 Sep 1998 16:00:02 +0000	[thread overview]
Message-ID: <96078721911533.tru64-unix-managers.marc@archive.invalid> (raw)





>ORIGINAL POST:
>
>
>HI MANAGERS!! I wonder if any of you can recommend me (if its
>possible to do) a safe method for stopping a process, have a reboot, and
>restart the process exactly at the point where it has stopped. (some kind
>of reg's dump and reload, who knows?) Any help will be greatly apreciated
>TIA.........
>
>
>SUMMARY
>
>Thanks to all who toke a minute to respond me. The answer's what was
>expected :
>
>                                        There's no answer!
>
>Anyway, here is some advice  if you try  programming:
>
>***************************************************************************
*
>*****************
>FROM Dr. BLINN
>There is no simple way to do this in full generality.  There is nothing in
>the DIGITAL UNIX operating system at the present time to facilitate this.
>You could write an application that periodically saves enough state to be
>able to resume a computation (including re-opening any input and output
>files, etc.) and then restart it from the last checkpoint, or you could
even
>have the application accept a signal telling it that it's time to write out
>a checkpoint (just before shutting the system down).
>But there is no general support for this.  It's entirely "roll your own" at
>this point.
>Tom
>***************************************************************************
*
>****************
>
>FROM  alan@nabeth.cxo.dec.com
>
>I don't believe the system supports a way of doing check-point
>restart.  So, if you'd have to do it by hand.  Select a signal
>for the program to recognize and arrange for signal handler.
>When the signal is received, save all the program state.  Then
>when the programs starts again, it checks to see if there is
>saved state, restores it and continues.
>You may want to take care that the check-point doesn't occur
>in the middle of something inconvient.  In this case, the
>signal handler, would set a flag that could be check at each
>iteration of the program and when set, the state is saved
>then.
>
>

             reply	other threads:[~1998-09-02 16:00 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1998-09-02 16:00 Rene Demian Taboada Arias [this message]
  -- strict thread matches above, loose matches on Subject: below --
1998-09-02 15:57 [SUMMARY] : How to stop and restart process in between boot Rene Demian Taboada Arias
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox