#!/bin/bash #monitor available disk space SPACE=’df | sed -n ‘/ / $ / p’ | gawk ‘{print $5}’ | sed ’s/%//’ if [ $SPACE -ge 90 ] then test9@163.com fi