Hi
df -k | awk '$4 > 70 { printf "%20s,%20s %s\n",$1,$4,$7}' > /temporaryfile
set `date`
mailx -s "File Systems which are more than 70% used on on $2,$3" emailid < /temporaryfile
Cheerio
Afshin
|
Results 1 to 5 of 5
Threaded View
|
Click Here to Expand Forum to Full Width |