GithubHelp home page GithubHelp logo

shell's Introduction

日常shell工具整理:

isvn

这是一个svn命令的工具包,主要提供以下功能:

  • 切换到主干
  • 切换到任意分支
  • 分支列表
  • 从任意分支(主干)创建新分支

这个工具只适用与淘宝svn仓库,svn地址类似:http://svn.app.taobao.net/repos/xxx/trunk/xxx

用法

isvn help
Usage: isvn [options]
Subversion utils.
	Options:
	bl [regex] - list branches match the regex in current repository. If no regex, list all branches
	sb [branch] - switch to [branche], the [branche] can be a regexp. 
                  If it match more than one branches, a selector will display.
                  If the branch is trunk, it will create new branch from trunk.
	t - switch to trunk
	nb [from] [to] - create new branch [to] from [from]. If [from] is "trunk", copy code from trunk.

Example:
    isvn bl
    isvn t
    isvn sb a.*
    isvn nb trunk test
    isvn help

ping-range

这个工具用来检查一个ip范围是否可以ping通

用法

./ping-range 192.168.1 100 105
IP 192.168.1.100 is UP
IP 192.168.1.101 is DOWN
IP 192.168.1.102 is UP
IP 192.168.1.103 is UP
IP 192.168.1.104 is DOWN
IP 192.168.1.105 is DOWN

jvm_gcwatch

查看JVM的GC情况,没1s刷新一次。

用法

./jvm_gcwatch [features]

Every 1.0s: jstat -gcutil 23884                                                Sun Jan 26 22:16:19 2014

S0     S1     E      O      P     YGC     YGCT    FGC    FGCT     GCT
4.15   0.00  44.78  40.13  71.69  16680  136.225   124   11.770  147.995

features 为jvm进程相关的字符串或者pid。

shell's People

Contributors

lichengwu avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

Forkers

no2key

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.