------------------------------------------------------------------------------ Hibernator II - INSTRUCTIONS FOR USE ------------------------------------------------------------------------------ Hibernator is a software package which makes it possible to stop a running program at any time, for example before a planned shutdown, and to restart it later. These instructions are based on a limited number of tests. We do not guarantee that a given program will be successfully restarted. The preferred procedure by users to ensure successful program restart is illustrated by the following example: (1) PREPARE THE EXECUTABLE FILE Suppose the executable is "myprog.e": then do: hibmark myprog.e (2) RUN THE JOB Run the program (this can be done from a script; however, the script will not be restarted and therefore SHOULD NOT MANIPULATE FILES used by the program, e.g., should not delete these files): myprog.e & (3) GET THE PROCESS PID (process-ident) Use the command psx (or /usr/local/bin/psx): psx myprog.e to see the status of "myprog.e", you get for example: UID PID PPID C STIME TTY TIME CMD tadic 1170 1012 76 10:43:05 ? 60:32 /usr/people/tadic/bin/myprog.e (4) ASSIGN THE PROCESS TO THE SET OF PROCESSES AUTO-SAVED AT SHUTDOWN: Notify Hibernator of the process PID as follows (be careful to use the correct PID - distinguish between possible different processes that run "myprog.e"): hibset -a 1 1170 R. Krivec 96/12/05 ------------------------------------------------------------------------------