mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 11:25:16 +08:00
criu: add page (#22394)
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
# criu
|
||||
|
||||
> Freeze a running application or a process tree and restore it later.
|
||||
> More information: <https://manned.org/criu>.
|
||||
|
||||
- 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]}}`
|
||||
Reference in New Issue
Block a user