[CRIU] [RFC][PATCH 0/3] Add crit x (explore) action

Pavel Emelyanov xemul at parallels.com
Mon Dec 14 02:18:27 PST 2015


Today's crit can only show contents of images in json, but it's
still not extremely convenient to explore what's going on in the
images with it.

Here's the suggestion how to improve the situation.

The x action (syntax: crit x dir_name what_to_explore) would show
various compound information get from the directory with images.

E.g. the very first useful thing asked by avagin@ is to show the
ps-like output of processes sitting in the image (this is patch #2).
Another tempting thing from xemul@ is to show what files are opened
by each process (crit show fdinfo would only show type:id pairs,
one need to manually decode and grep other images for info) (this
is in patch #3).

More stuff can be eventually added.

-- Pavel


More information about the CRIU mailing list