* AW: [SUMMARY] : How to stop and restart process in between boot ...
@ 1998-09-02 5:49 Rudolf Gabler
0 siblings, 0 replies; only message in thread
From: Rudolf Gabler @ 1998-09-02 5:49 UTC (permalink / raw)
To: tru64-unix-managers
Hi managers,
a addon to this question: Has anybody got his hand on the checkpoint code from CRAY Unicos
or written a version for dUnix?
Regards,
Rudi Gabler
-----Urspr|ngliche Nachricht-----
Von: Rene Demian Taboada Arias [SMTP:rta@aixulsa.ulsa.mx]
Gesendet am: Mittwoch, 2. September 1998 18:00
An: alpha-osf-managers
Betreff: [SUMMARY] : How to stop and restart process in between boot...
>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.
>
>
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1998-09-02 5:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-09-02 5:49 AW: [SUMMARY] : How to stop and restart process in between boot Rudolf Gabler
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox