摘要: 监视磁盘空闲空间:#!/bin/bashSPACE=`df | sed -n '/\/$/p' | gawk '{print $5}' | sed 's/%/ /`if [ $SPACE -ge 90 ]then echo "warn disk is not enough"fi 阅读全文
posted @ 2013-02-26 22:06 ﹏Sakura 阅读(194) 评论(0) 推荐(0) 编辑