摘要: 方案一: disks=(`df |sed 1d | awk '{print $1,$5}'|tr -d %`) len=${#disks[@]} for ((i=1;i<=$len;i=i+2));do if [ ${disks[i]} -gt 80 ];then echo "${disks[$i- 阅读全文
posted @ 2017-09-10 18:24 paul_hch 阅读(428) 评论(0) 推荐(0)