Changes

564 bytes added ,  16:55, 25 July 2022
Update show command to use crit
Line 1: Line 1: −
CRIU generates a set of <code>stats-<type></code> files that contain statistics about how dump/restore went.
+
CRIU generates a set of <code>stats-<type></code> files that contain statistics about how dump/restore went. These files are in google-protocol-buffers format, just like the [[images]] are, and can be viewed using the <code>crit show [FILE]</code> command (<code>criu show -f [FILE]</code> in previous versions).
    
== Dump/Pre-dump stats ==
 
== Dump/Pre-dump stats ==
Line 27: Line 27:  
;<code>pages_written</code>
 
;<code>pages_written</code>
 
:The total number of pages criu put into image files
 
:The total number of pages criu put into image files
 +
 +
== Restore stats ==
 +
 +
;<code>forking_time</code>
 +
:Time took to fork the tree of processes (with groups and sessions)
 +
 +
;<code>restore_time</code>
 +
:Total time of restore
 +
 +
;<code>pages_compared</code>
 +
:Number of pages compared for being COW-ed
 +
 +
;<code>pages_skipped_cow</code>
 +
:Number of pages, restoration of which was skipped due to COW setup
 +
 +
[[Category:API]]
5

edits