这是一个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
这个工具用来检查一个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的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。