#/bin/sh # #checktheswap-eq0 logfile =`date+%y-%m-%d`.swap.log foripin`catserver.txt` do free =$(ssh$ipfree|grep-iswap|awk'{print$3}') name =`ifconfig|grep-i'inetaddr'|head-1|awk-F:'{print$2}'|cut-d''-f1` if[$free-eq0] then echothe$nameswa
Copyright 2001-2010, www.comprg.com.cn, All Rights Reserved 京ICP备14022230号-1,电话/传真:010-82561037 82561614 ,Mail:gaojian@comprg.com.cn
地址:北京市海淀区远大路20号宝蓝大厦E座704,邮编:100089