[ILUG] saving a process to a file

Justin Mason jm at jmason.org
Sat Feb 26 01:18:27 GMT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Kieran.Tully AT acm.org writes:
> On Fri, 25 Feb 2005 20:05:12 +0000, Declan Houlihan <deccy at csn.ul.ie> wrote:
> > Hi Guys,
> > I'm wondering if there's any way to save a process to a file in Linux?
> 
> Google dump/undump. Recommended for use with perl to convert
> scripts to executables, in the days before the perl compiler. Undump
> doesn't generalise well. So much process state depends on system
> state you can't dump/undump, e.g. file-descriptors.
> 
> Snapshotting the entire system (including file-system) is probably
> safer. I've used hibernate on VMware and resume works well. User
> Mode Linux may support hibernate - worth a look.

The swsusp guys had a patch that reportedly supported "suspending"
(more like hibernating) a process then restarting it later on
recent kernels.   Not sure how reliable it was though.

- --j.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Exmh CVS

iD8DBQFCH85jMJF5cimLx9ARArNtAJ9PuC11RpDgu0xZrDdJIduT3hFVNgCdE8Ay
lTnZ5WoTF1vf3smpANuR0Qs=
=gcYw
-----END PGP SIGNATURE-----




More information about the ILUG mailing list