-
Does anyone have a script to check disk space usage.
My backup directory keeps filling up with archivelog files and
I need a script to let me know by email or pager when the filesystem is 80% full.
-
df -k /your/directory
This question might be better addressed on http://www.unix.com.
Jeff Hunter
-
-
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
-
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|