#!/bin/bashusage=`df / | awk '$5=="/"{sub("%","",$4);print $4}'`if [ $usage -gt 90 ]; then find /var/log -type f -size +8G -exec rm -f {} \;fi