<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hi,<br>
    <br>
    <div class="moz-cite-prefix">On 02/10/2015 01:30 PM, Thouraya TH
      wrote:<br>
    </div>
    <blockquote
cite="mid:CALbnis1SkBaZivWuJZxPsvZZJGd0yX5V8J=EqE5PCi7AeO13kg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>
          <div>Hello all,  i have done two times the dumping process of
            this process <a moz-do-not-send="true"
              href="http://criu.org/Simple_loop">http://criu.org/Simple_loop</a><br>
            <br>
            root@g-52:/home# <b>cd LoopProcess</b><br>
            root@g-52:/home/LoopProcess# ls<br>
            cgroup.img      dump.log       fdinfo-2.img   fs-9162.img  
            inotify.img    ns-files.img      pages-2.img    
            remap-fpath.img   stats-dump    unixsk.img<br>
            core-9162.img   eventfd.img    fdinfo-3.img   fs-9773.img  
            inventory.img  packetsk.img      pipes-data.img 
            sigacts-9162.img  timerfd.img<br>
            core-9773.img   eventpoll.img  fifo-data.img  ids-9162.img 
            mm-9162.img    pagemap-9162.img  pipes.img      
            sigacts-9773.img  tty.img<br>
            creds-9162.img  ext-files.img  fifo.img       ids-9773.img 
            mm-9773.img    pagemap-9773.img  pstree.img     
            signalfd.img      tty-info.img<br>
            creds-9773.img  fanotify.img   filelocks.img  inetsk.img   
            netlinksk.img  pages-1.img       reg-files.img  
            sk-queues.img     tunfile.img<br>
            <br>
            root@g-52:/home/LoopProcess# cd ..<br>
            root@g-52:/home# <b>cd LoopProcess1/</b><br>
            root@g-52:/home/LoopProcess1# ls<br>
            cgroup.img       dump.log       fdinfo-2.img  
            fs-10821.img   inotify.img    ns-files.img      
            pages-2.img     remap-fpath.img    stats-dump    unixsk.img<br>
            core-10821.img   eventfd.img    fdinfo-3.img  
            fs-9162.img    inventory.img  packetsk.img      
            pipes-data.img  sigacts-10821.img  timerfd.img<br>
            core-9162.img    eventpoll.img  fifo-data.img 
            ids-10821.img  mm-10821.img   pagemap-10821.img 
            pipes.img       sigacts-9162.img   tty.img<br>
            creds-10821.img  ext-files.img  fifo.img      
            ids-9162.img   mm-9162.img    pagemap-9162.img  
            pstree.img      signalfd.img       tty-info.img<br>
            creds-9162.img   fanotify.img   filelocks.img 
            inetsk.img     netlinksk.img  pages-1.img       
            reg-files.img   sk-queues.img      tunfile.img<br>
            <br>
          </div>
          <div>Then:<br>
            <br>
            criu show -D LoopProcess  <br>
          </div>
          <div>i see many lines.. i'd like to redirect the result of
            this command to a file like that:<br>
            <br>
            criu show -D LoopProcess &gt; first.txt<br>
            <br>
            but i have these error : <br>
            Error (image.c:231): Unable to open netdev-2.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open ifaddr-2.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open route-2.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open iptables-2.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open ipcns-var-3.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open ipcns-shm-3.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open ipcns-msg-3.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open ipcns-sem-3.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open utsns-4.img: No such
            file or directory<br>
            Error (image.c:231): Unable to open mountpoints-5.img: No
            such file or directory<br>
            <br>
          </div>
          <div><br>
            ? <br>
            <br>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
    These are the obsoleted and optional images. We should probably
    print warnings there,<br>
    but we now have(in git and will probably have it starting from the
    next criu version) CRIT[1] which<br>
    is a feature-rich replacement of "criu show".<br>
    Btw, if you could try using CRIT(crit decode -i path/to/criu/image
    --pretty) to generate json interpretation<br>
    of images and then nicely compare them using lots of json tools.<br>
    <br>
    For example:<br>
    $ ../../crit decode -i imgs1/pstree.img --pretty<br>
    {<br>
        "magic": "PSTREE", <br>
        "entries": [<br>
            {<br>
                "pgid": 5580, <br>
                "threads": [<br>
                    5580<br>
                ], <br>
                "ppid": 0, <br>
                "pid": 5580, <br>
                "sid": 5580<br>
            }, <br>
            {<br>
                "pgid": 5580, <br>
                "threads": [<br>
                    5591<br>
                ], <br>
                "ppid": 5580, <br>
                "pid": 5591, <br>
                "sid": 5580<br>
            }<br>
        ]<br>
    }<br>
    <br>
    $ ../../crit decode -i imgs2/pstree.img --pretty<br>
    {<br>
        "magic": "PSTREE", <br>
        "entries": [<br>
            {<br>
                "pgid": 5661, <br>
                "threads": [<br>
                    5661<br>
                ], <br>
                "ppid": 0, <br>
                "pid": 5661, <br>
                "sid": 5661<br>
            }<br>
        ]<br>
    }<br>
    <br>
    For example, paste both to <a class="moz-txt-link-freetext" href="http://prettydiff.com/">http://prettydiff.com/</a> and get nice diff.<br>
    <br>
    [1] <a class="moz-txt-link-freetext" href="http://criu.org/CRIT">http://criu.org/CRIT</a><br>
    <br>
    <blockquote
cite="mid:CALbnis1SkBaZivWuJZxPsvZZJGd0yX5V8J=EqE5PCi7AeO13kg@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Thanks a lot.<br>
        </div>
        Best Regards. <br>
      </div>
    </blockquote>
    Thanks,<br>
    Ruslan<br>
  </body>
</html>