Git Product home page Git Product logo

criu-gui's Introduction

CRIU Process Migration GUI

A GTK interface for live process migration with CRIU.

This program displays control groups on any number of remote machines in a tree format. The user can migrate a process from one machine to another by simply dragging and dropping it into a another tree.

Dependencies

  • Python 2 or 3
  • GTK+ 3.10 or newer
  • Paramiko (pip install paramiko)
  • CRIU and a kernel new enough for CRIU to run on (on the remote machines)

Instructions

Run python -m criugui to start the program.

To add a new machine, use the "+" button and fill out the dialog. SSH will be used to connect to the machine, so a special server is not needed, but you must be able to log in as root.

The tree under each machine displays the hierarchy of control groups on the system, and a process tree is shown within each control group. If a new process is started or an existing one terminates, you can reload the processes with the refresh button. To search for a process by name, just begin typing.

To migrate a process, click and drag it from one machine to another. You will be informed of the success or failure of the migration when it completes.

The command line options passed to CRIU default to basically --leave-running --manage-cgroups for dumping and -restore-detached --manage-cgroups for restoring. To edit these, click the terminal button in the headerbar.

Limitations

Shell jobs cannot be migrated. If the --shell-job flag is specified, CRIU checks if stdin is actually a TTY, and returns an error if it's not. I'm not sure if shell jobs can be migrated besides manually in an interactive terminal.

Screenshots

00

01

02

03

04

05

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.