Difference between revisions of "What can change after C/R"

From CRIU
Jump to: navigation, search
(Created page with "This page is very important (I believe). It describes what can change in a tasks' environment after a C/R cycle. If a software you're using depends on either item from the lis...")
 
(+ mount ids)
Line 9: Line 9:
 
; Process start time
 
; Process start time
 
: It's in the 22nd field of the <code>/proc/$pid/stat</code> file
 
: It's in the 22nd field of the <code>/proc/$pid/stat</code> file
 +
 +
; Mount points IDs
 +
: The numbers from first 2 columns of <code>/proc/$pid/mountinfo</code>

Revision as of 12:33, 30 August 2013

This page is very important (I believe). It describes what can change in a tasks' environment after a C/R cycle. If a software you're using depends on either item from the list below, it may break after C/R

Per-task statistics
Various counters, that can be obtained via /proc/$pid/status or getrusage()
Namespaces' IDs
Numbers you see in the /proc/$pid/ns/* links' targets
Process start time
It's in the 22nd field of the /proc/$pid/stat file
Mount points IDs
The numbers from first 2 columns of /proc/$pid/mountinfo