[CRIU] [RFC][PATCH 0/3] Add crit x (explore) action
Cyrill Gorcunov
gorcunov at gmail.com
Mon Dec 14 02:39:02 PST 2015
On Mon, Dec 14, 2015 at 01:18:27PM +0300, Pavel Emelyanov wrote:
> 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.
Maybe it worth to look into curses library?
More information about the CRIU
mailing list