#! /bin/ksh USAGE="usage:u01_cap" # This script checks for the # current capacity of /apps/bin/fin and alerts specified personnel # if the capacity is equal to or greater than 85% # # Copyright 2000, All Rights Reserved, Reed-Matthews, Inc. check_it=$(bdf /u01 | awk '{print $5}' | grep -v used | sed s/%//) if (( $check_it >= 85 )) then echo "/u01 is currently at $check_it % of capacity. Please give it a look see. /u01 holds the sqlnet log files and Oracle Database Code" | mailx -s "Check /u01." barb@oncalldba.com fi