Giter Club home page Giter Club logo

omnitmux's Introduction

OmniTmux Build Status

A cluster operate tool base tmux as omnitty, inspired by tmuxbro.

Feature

  • cluster list

  • cluster/host stage

  • multicast mode

  • like vim key bind

Demo

cluster_stage

host_stage

KeyMap

cluster stage

  • j/J/UP: next cluster

  • k/K/DOWN: prev cluster

  • m: jump to middle cluster

    • `
  • x: exit

host stage

  • j/J/UP: next host

  • k/K/DOWN: prev host

  • t: tag current host

  • T: tag all hosts

  • c: enable multicast mode

  • `

  • `

  • m: jump to middle host

  • e: jump to end host

  • r: reconnect current host

  • R: reconnect all hosts

  • a: add hosts

  • d: delete current host

  • q: quit to stage cluster

  • ?: toggle help info

  • x: exit

Config path

clusters config path:~/.config/omnitmux/clusters/

$ ls ~/.config/omnitmux/clusters/
hb02  test  test2 ump01
$ cat ~/.config/omnitmux/clusters/test
# ma
171.21.240.67
171.20.240.94
171.20.240.95
# da
11.194.133.103
11.194.133.194
11.194.134.103
11.194.134.167

Run

must start tmux first:

$ tmux

then run with:

$ ./omnitmux.sh  ./nodes        # start by load file nodes which contain cluster hosts
$ ./omnitmux.sh              # start with clusters under default config path

cluster hosts file must likes:

$ cat ./nodes

[email protected] #TAG1
10.194.133.103      #TAG2
10.194.133.194      #TAG3
10.194.134.103
#PASS pass1

10.194.134.167
10.194.135.8
#PASS pass2

all hosts should ssh config to be login in

omnitmux's People

Contributors

zhengyi avatar zhuzhengyi avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Forkers

enterpriseih

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.