Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Script to monitor file systems size and report via email when at 25%

Status
Not open for further replies.

systemsadmin3000

Technical User
Sep 8, 2005
65
TT
I'm running SCO Unixware 7.1.1. So far i have the following script to report on the file systems that are over 25%

#In this example the script will display those systems over 25%

df -k|awk '{if(int($5) >25) {print $1" ---- "$5 " mount pt: " $6}}'

How do i incorporate a scipt to send this result in an email? Any help would be appreciated
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top