Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* "Check pointing" on BSD Unix (or Ultrix)
@ 1989-11-06 19:36 David Battle
  0 siblings, 0 replies; only message in thread
From: David Battle @ 1989-11-06 19:36 UTC (permalink / raw)


Does anyone out there know of any way to "check point" a process
under BSD unix?  In particular I am interested in a way to do it on
a Ultrix VAX and possibly on a DECStation 3100.

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.

I am perfectly willing to write a program to do this, I don't expect
utilities to already to exist, I'm just looking for pointers.

I had though ptrace(2) might could be used, although it would be slow since
you must make a system call for every 4 bytes you read from the process's
address space.  However, I haven't been able to ptrace anything other than
a child of the calling process (ie, the process calling ptrace).

Things that would help would be: source to gcore(1), source to dbx, or
(obviously) source for a utility which does exactly what I am wanting.
(Or, just tell me how to do it, and I'll take care of the details. :-)

Pointers to commercial products would be helpful too, especially if they
are available for DEC/Ultrix (including DECStations) machines.

			David L. Battle

			battle@battle.esd.ornl.gov
			battle@utkcs2.cs.utk.edu


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1989-11-06 19:36 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1989-11-06 19:36 "Check pointing" on BSD Unix (or Ultrix) David Battle

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