Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 06-29-2007, 02:19 PM   #1
LQ Newbie
Registered: Jun 2006
Posts: 1

Rep: Reputation: 0
freeze a process

Hi, I've lauched a process (a very long simulation). I want to stop the process (contol+z), power down my computer, and tomorrow, power up the computer and continue the process. How can do it? I can freeze the computer on hd/ram, but the problem is that beryl doesn't work well if I do it.
Old 06-30-2007, 08:16 AM   #2
LQ Addict
Registered: Jul 2002
Location: East Centra Illinois, USA
Distribution: Debian Squeeze
Posts: 5,846

Rep: Reputation: 342Reputation: 342Reputation: 342Reputation: 342
If I'm not mistaken, you send the process a SIGHUP (signal hangup) signal.

Here's a tutorial, in case you are not familiar with it:
Old 06-30-2007, 10:40 AM   #3
Registered: Jun 2007
Location: Silicon Valley, CA
Distribution: Xubuntu
Posts: 83

Rep: Reputation: 15
Sending SIGHUP by itself isn't going to allow him to do what he wants. AFAIK, I'm unaware of anything which would generically let you save a process's state, reboot the computer, and allow the process to resume where it left off. I think the best bet is for the simulation process itself to periodically save state, or install some state saving knowledge as part of a signal handler.

Last edited by ak_random; 06-30-2007 at 10:42 AM.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
how a father process know which child process send the signal SIGCHLD icoming Programming 10 07-20-2010 08:26 AM
Need to install process at end of boot process ch485de Linux - Newbie 5 12-07-2006 06:47 PM
child process usses same amount of ram as parent process socialjazz Programming 7 10-19-2006 06:48 PM
Suspending "freeze" a process in C Pratik H Pandya Programming 3 10-03-2005 01:58 PM
Bash Scripting - child process affecting parent process mthaddon Linux - General 1 05-02-2004 02:19 PM

All times are GMT -5. The time now is 02:32 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration