This is a perl script written to check the the disk space of a certain partion/directory.
This was written for HP-UX and has not been tested on Linux. Modify for your needs.
###########################
Description:
Detect if the $dir is over $percent full of data and
send an email if so.
Change $email to your email
Change $message to your message (below)
Usage: diskspace.pl [directory] [percent]
Thanks, I need something that does this function. Now I won't have to create it myself.
Thanl you very much
I was just looking for something like this
thanks so much for this. was looking for something simple like this.
does not working in my case
Perl 5.006001
Solaris
It says "Can't exec 'bdf': no such file or directory...'
Eats df only.
Last edited by rigal; 02-22-2007 at 07:37 AM.
Thank you for sharing your codes.![]()
thanks for this. need it badly
You are also using Solaris?
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks