Code Monkey home page Code Monkey logo

procman's Introduction

Procman

Procman is a tool for managing many processes distributed over one or more computers. There are several ways to use procman:

  1. Sheriff / Deputy GUI mode

In this mode, every workstation runs a "deputy" process:

procman-deputy

One workstation runs a "sheriff" process, which provides a GUI to command and communicate with the deputies:

procman-sheriff

Using the GUI, you can:

  • create/edit/remove processes
  • start/stop/restart processes
  • aggregate processes together into logical groups (e.g., "Planning")
  • view the console output of each process
  • save and load process configuration files
  • view process statistics (memory, CPU usage)

For the special case where you only want to run processes on the local computer, the sheriff can act as its own deputy. To operate in lone ranger mode, run

procman-sheriff --lone-ranger
  1. C++ API

Procman also provides a C++ API for spawning and managing child processes, comparable to the Python subprocess module.

Build Instructions

Dependencies

  • LCM
  • Python
  • PyGTK (procman-sheriff is written in Python with PyGTK)

Currently only tested on GNU/Linux. Some stuff will definitely only work on Linux (e.g., the process memory, CPU statistics).

Local Install

After cloning procman, create and move a build directory

mkdir build
cd build

Now run cmake (optionally use -DCMAKE_INSTALL_PREFIX to change the local install directory from /usr/local to a different directory):

cmake ..
make

Documentation

Documentation is built with Doxygen.

cd doc
doxygen

procman's People

Contributors

ashuang avatar pvazteixeira avatar 9define avatar

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.