全部博文(535)
发布时间:2014-06-08 09:43:15
####################按小时统计url访问次数# $1 url#!/bin/shif [ "$1" = "" ]then echo "Url is null ... EXIT"exit 1fiLOG='/www/apache_log'HOUR="`seq -w 0 23`"files="`ls -trl ${LOG}/web-?*.log | awk '{print $9}'`"url="$1"export LOG HOUR files urlfor file in $filesdof.........【阅读全文】
发布时间:2014-04-25 10:12:34
#!/bin/bashHOST="10.14.57.251"USER=rootPASS=rootecho Starting to sftplftp -u ${USER},${PASS} sftp://${HOST} <<EOFcd uploadsget testbyeEOFecho doneftpUser=rootftpPWD=root6adp2/usr/bin/ftp -n<<EOFopen 10.14.54.120 21user $ftpUser $ftpPWDbincd /oradata/oraclepromp.........【阅读全文】
发布时间:2014-04-17 17:20:39
aix安装wget及wget命令简析到IBM的网站http://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html寻找wget的rpm包ftp://ftp.software.ibm.com/aix/freeSoftware/aixtoolbox/RPMS/ppc/wget/wget-1.9.1-1.aix5.1.ppc.rpm,下载之后上传到服务器,使用rpm -ivh wget-1.9.1-1.aix5.1.ppc.rpm安.........【阅读全文】