<div dir="ltr"><div><div><div>Hello all :)<br><br>Here is my script: i try to do the <span class="">dumping</span> process in <span class="">parallel</span> with its running<br><br>#!/bin/bash<br>if [ $# -ne 1 ]<br>then<br> echo "USE: ./<span class="">Dumping</span>.sh worker-name"<br> else<br><br>lxc-start -n $1 <b>& my_pid=$!</b><br>sleep 10<br>mkdir $1<br>while lxc-checkpoint -D  /home/$1 -n  $1 <b> $my_pid</b><br>do        <br>         sleep 20       <br>done<br>fi<br>-----------<br></div>Please, is it possible to use lxc-wait and change my script like this:<br><br>#!/bin/bash<br>if [ $# -ne 1 ]<br>then<br> echo "USE: ./<span class="">Dumping</span>.sh worker-name"<br> else<br><br>lxc-start -n $1 <br>sleep 10<br>mkdir $1<br>while  <code>lxc-wait -n $1 -s </code><b>STOPPED</b> <br>do        <br><br>         lxc-checkpoint -D  /home/$1 -n  $1 <br>         sleep 20       <br>done<br>fi<br><br></div>Thank you so much for answers.<br></div>Kind regards.<br></div>