"Check pointing" on BSD Unix (or Ultrix)

Jeff Michaud michaud at decvax.dec.com
Thu Nov 16 06:54:27 AEST 1989


> What I would like to be able to do would be to stop a running process,
> save it's core image to a file (similar to what gcore(1) does), kill
> the original process, and then later (like, say, after rebooting)
> restart the process from the saved core image.

	It would be easiest if the application knew how to checkpoint itself.

	One of the biggy problems you are going to have trying to checkpoint then
	restart as a new process without cooperation from application is restoring
	open file descriptors.  You may be able to reopen normal files, but if the
	application had sockets open talking to someone else, it would be impossible
	to restore that state w/out the application being restarted knowing.

	You may want to look into the Tex/LaTeX distro.  TeX can dump itself and
	be massaged to create a new executable that includes newly built in
	style/macro files.

/--------------------------------------------------------------\
|Jeff Michaud    michaud at decwrl.dec.com  michaud at decvax.dec.com|
|DECnet-ULTRIX   #include <standard/disclaimer.h>              |
\--------------------------------------------------------------/



More information about the Comp.unix.wizards mailing list