shell 564

#Shell
bash维护并行下载任务

cat urlfile|while read i;do #循环一个文件中下载链接 while [ `jobs |wc -l` -eq 20 ] ;do #判断后台下载任务数量是否在…

2016-03-01 154

#Shell
shell 分析java进程cpu使用率过高的shell脚本

分析java进程cpu使用率过高的shell脚本 #!/bin/bash # @Function # Find out the highest cpu consumed threa…

2016-01-23 469

#Shell
redis 配合nginx做短url跳转

简单demo local redis = require "resty.redis" local rcache = redis:new() --redis连接 local ok,e…

2015-12-25 806

#Shell
免费献给开发者,获取墙外资源

包含有:– 正常访问google搜索开发资料– github请求代理,实现快速得push / fetch等操作…

2015-12-20 434

#Shell
nagios检测cpu的插件

#!/bin/bash #如果某些命令找不到,可以在此定义$PATH。 ######################################################…

2015-12-15 246

#Shell
shell脚本for和while的使用

#!/bin/bash sum=0; for ((i=1; i<=10; i++)); do let "sum=$sum+$i"; done echo $sum; for j…

2015-12-14 702

#Shell
Linux Shell脚本检测tomcat并自动重启

#!/bin/bash while [ true ] do url="http://www.oschina.net/"; httpOK=`curl --connect-timeou…

2015-12-13 123

#Shell
Java Web 项目打包脚本

[typhoon@TFW-CENT6-LT jweb.tfw.tfw_web_lpm]$ ll export.v0.2.5_2013-03-10_20-40.jre150 总用量 …

2015-12-13 207

#Shell
安装brew

ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"

2015-12-12 497

#Shell
命令行十六进制编辑器HexTool修改bcwav

@echo off ::Usage: hextool InputFile.bin Address Length HexNumber ::用UltraEdit之类16进制编辑打开,在…

2015-12-12 1,006

#Shell
la&nmp

wget http://www.php.net/get/php-5.3.23.tar.bz2/from/cn2.php.net/mirror mv mirror php-5.3.2…

2015-12-11 125

#Shell
python 调用命令行编译 android apk 。。。

#!/usr/bin/env python # -*- coding: utf-8 -*- import os import subprocess import shutil de…

2015-12-11 676
1 2 3 47