[CRIU] Dump Process

Pavel Emelyanov xemul at parallels.com
Wed Jul 16 05:47:14 PDT 2014


On 07/16/2014 04:32 PM, Thouraya TH wrote:
> When dumping a process the latter must be stopped. Do you want it not to get
> killed after dump, but continue running?
> 
> Yes, that's it ? is that possible ?

It's in the criu --help text:

  -R|--leave-running    leave tasks in running state after checkpoint

> i want have the two process running in parallel: on the first terminal the ./test.sh , in the second terminal the dumping process (each x seconds i do the dumping process)
> *Without interrupting (stopping) or killing ./test.sh*

You use 3 terms interchangeably -- interrupt, stop and kill the process.
They are _all_ have _different_ meaning. Please, clarify what you want.

> Thanks.
> Best Regards.
> 
> 
> 2014-07-16 13:17 GMT+01:00 Thouraya TH <thouraya87 at gmail.com <mailto:thouraya87 at gmail.com>>:
> 
>     When dumping a process the latter must be stopped. Do you want it not to get
>     killed after dump, but continue running?
> 
>     Yes, that's it ? is that possible ?
>     i want have the two process running in parallel: on the first terminal the ./test.sh , in the second terminal the dumping process (each x seconds i do the dumping process)
> 
>     Thanks.
>     Best Regards.
> 
> 
> 
>     2014-07-16 13:00 GMT+01:00 Pavel Emelyanov <xemul at parallels.com <mailto:xemul at parallels.com>>:
> 
>         On 07/16/2014 03:12 PM, Thouraya TH wrote:
>         > Hello,
>         >
>         > Please, i have a question about the dump process.
>         > I have tested this tutorial: http://criu.org/Simple_loop  (the second part)
>         > *A shell job
>         >
>         > Now let's see how to dump the same program when it is just started from the shell without any additional setsid and stdio redirection. For that we need to execute our test script or another program (e.g. "top") from a terminal without any redirection. *
>         >
>         >
>         > /*criu dump" must be executed from another terminal. */
>         >
>         > My question:
>         > When i performed the dump process, i see that the running script $ ./test.sh stop
>         > That's it ?
> 
>         Not stopped, but killed.
> 
>         > i ask if there is a solution to proceed the dumping process in parallel with the execution of the script without stpping it ?
> 
>         When dumping a process the latter must be stopped. Do you want it not to get
>         killed after dump, but continue running?
> 
>         Thanks,
>         Pavel
> 
> 
> 



More information about the CRIU mailing list