#!/bin/bash

 # 统计根分区使用率
# 作者: shaohsiung
# 时间: // rate=$(df -h | grep "dev/sda3" | awk '{print $5}' | cut -d "%" -f1) if [ $rate -ge ]
then
echo "Root partition usage exceeds 80%, mail has been sent to the administrator..."
fi
05-11 20:12