No description
Find a file
Adrian Reber feddef44a1 Added option to display dump/restore stats
Currently criu writes dump/restore statistics to a file. This patch adds
the option '--display-stats' which additionally displays the same
information on the console:

 # criu dump --display-stats -D /tmp/cp -t <PID>
 Displaying dump stats:
 Freezing time: 133 us
 Frozen time: 135173 us
 Memory dump time: 114760 us
 Memory write time: 85107 us
 IRMAP resolve time: 0 us
 Memory pages scanned: 2099 (0x833)
 Memory pages skipped from parent: 0 (0x0)
 Memory pages written: 1052 (0x41c)

 # criu restore --display-stats -D /tmp/cp
 Displaying restore stats:
 Pages compared: 0 (0x0)
 Pages skipped COW: 0 (0x0)
 Pages restored: 51227 (0xc81b)
 Restore time: 57428 us
 Forking time: 51473 us

v2:
 - fix compile failure on 32bit ARM

travis-ci: success for Added option to display dump/restore stats (rev2)
Signed-off-by: Adrian Reber <areber@redhat.com>
Signed-off-by: Pavel Emelyanov <xemul@virtuozzo.com>
2016-10-24 18:13:15 +03:00
contrib Add script to install required packages to compile in Debian 2016-09-26 15:42:43 +03:00
coredump coredump: Rename dir to coredump 2016-06-28 13:04:58 +03:00
crit crit/decode: set default opts['nopl'] to False 2016-05-30 13:47:54 +03:00
criu Added option to display dump/restore stats 2016-10-24 18:13:15 +03:00
Documentation criu.8: document restore --leave-stopped 2016-10-24 16:00:15 +03:00
images core-ppc64: mark gregs and clear_tid_addr as (criu).hex 2016-10-24 16:00:15 +03:00
include/common Add directory for common headers 2016-10-24 16:00:15 +03:00
lib lib: add inherit_fd 2016-10-24 16:00:15 +03:00
scripts travis: Put package list in a variable 2016-10-24 16:00:15 +03:00
test test: add a --post-start hook 2016-10-24 16:00:16 +03:00
.gitignore uninstall: use --record with setup.py, v2 2016-05-06 14:38:29 +03:00
.mailmap repo: Add mailmap file 2012-03-25 23:31:20 +04:00
.travis.yml CI: add clang build for travis-ci 2016-10-24 16:00:15 +03:00
COPYING COPYING: fix a typo in a preamble 2016-08-11 16:18:43 +03:00
CREDITS Add the CREDITS file 2012-07-30 13:52:37 +04:00
INSTALL.md build: Add INSTALL.md and update "make help" 2016-05-06 14:38:29 +03:00
Makefile Makefile: don't compile with -O0 if GCOV=1 2016-10-24 16:00:15 +03:00
Makefile.install build/make: return to make from top directory 2016-08-01 18:38:32 +03:00
Makefile.versions criu: Version 2.7 2016-10-17 11:30:31 +03:00
README.md Add ascciinema tour on basic criu features. 2016-06-16 16:37:06 +03:00

CRIU (Checkpoint and Restore in Userspace)

An utility to checkpoint/restore tasks. Using this tool, you can freeze a running application (or part of it) and checkpoint it to a hard drive as a collection of files. You can then use the files to restore and run the application from the point it was frozen at. The distinctive feature of the CRIU project is that it is mainly implemented in user space.

The project home is at http://criu.org.

Pages worth starting with are:

A video tour on basic CRIU features

CRIU introduction

How to contribute