Commit 4eac6c9e authored by Kir Kolyshkin's avatar Kir Kolyshkin Committed by Pavel Emelyanov

criu(8): fix English in examples

1. s/pid 1234/pid of 1234/

2. Remove all those "one should type" or "run".
Signed-off-by: 's avatarKir Kolyshkin <kir@openvz.org>
Signed-off-by: 's avatarPavel Emelyanov <xemul@parallels.com>
parent 2ebe1db6
...@@ -161,22 +161,22 @@ the following rules: ...@@ -161,22 +161,22 @@ the following rules:
EXAMPLES EXAMPLES
-------- --------
To checkpoint a program with pid *1234* and write all image files into To checkpoint a program with pid of *1234* and write all image files into
directory *checkpoint* one should type directory *checkpoint*:
criu dump -D checkpoint -t 1234 criu dump -D checkpoint -t 1234
To restore this program detaching criu itself, one should type To restore this program detaching criu itself:
criu restore -d -D checkpoint -t 1234 criu restore -d -D checkpoint -t 1234
To close a file descriptor number *1* in task with pid *1234* run To close a file descriptor number *1* in task with pid *1234*:
criu exec -t 1234 close 1 criu exec -t 1234 close 1
To open a file named */foo/bar* for read-write in the task with pid To open a file named */foo/bar* for read-write in the task with pid
*1234* run *1234*:
criu exec -t 1234 open '&/foo/bar' 2 criu exec -t 1234 open '&/foo/bar' 2
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment