On Fri, Feb 25, 2005 at 08:05:12PM +0000, Declan Houlihan wrote:
> Hi Guys,
> I'm wondering if there's any way to save a process to a file in Linux?
>> Is there any application out there that I could supply with a PID
> and it would stop that process from executing, take all the info
> for that running process, memory, register values etc, save it
> all out to a file so that at a later time / date I could just resume
> that process?
>I don't know of any utility currently out there to do it - although I'm
sure if one exists you'll get pointers galore to it shortly ...
I would however suggest looking at the 'refrigerator' code from swsusp
(swsusp.sf.net IIRC) the Software-Suspend code for Linux which
essentially does that for the entire machine - including kernel.
Might be worth a poke !
P
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!