From 4fc51c6bf4e9ee3a3792bb0c1dc591c5ffc0961b Mon Sep 17 00:00:00 2001 From: Mariana Alice Date: Wed, 13 May 2026 08:30:32 -0300 Subject: [PATCH] criu: add page (#22394) --- pages/linux/criu.md | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 pages/linux/criu.md diff --git a/pages/linux/criu.md b/pages/linux/criu.md new file mode 100644 index 0000000000..da462c45f9 --- /dev/null +++ b/pages/linux/criu.md @@ -0,0 +1,20 @@ +# criu + +> Freeze a running application or a process tree and restore it later. +> More information: . + +- Check if the current kernel has support for the necessary CRIU features: + +`sudo criu check` + +- Checkpoint a process with a specific ID, saving the state to a specific directory: + +`sudo criu dump {{[-t|--tree]}} {{process_id}} {{[-D|--images-dir]}} {{path/to/directory}}` + +- Restore a process from previously saved image files: + +`sudo criu restore {{[-D|--images-dir]}} {{path/to/directory}}` + +- Dump a process and allow it to continue running instead of terminating it: + +`sudo criu dump {{[-t|--tree]}} {{process_id}} {{[-D|--images-dir]}} {{path/to/directory}} {{[-R|--leave-running]}}`