Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: battle@alphard.cs.utk.edu (David Battle)
Subject: "Check pointing" on BSD Unix (or Ultrix)
Date: 6 Nov 89 19:36:41 GMT	[thread overview]
Message-ID: <1326@utkcs2.cs.utk.edu> (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


                 reply	other threads:[~1989-11-06 19:36 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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