View Single Post
  #1 (permalink)  
Old 08-11-2006, 10:05 AM
Jordan's Avatar   
Jordan Jordan is online now
Administrator
 
Join Date: Nov 2005
Location: Hendersonville, NC
Posts: 10,849
Last Blog:
PHP Security: Temporar...
Credits: 1
Rep Power: 20
Jordan is just really niceJordan is just really niceJordan is just really niceJordan is just really nice
Send a message via ICQ to Jordan Send a message via AIM to Jordan Send a message via MSN to Jordan
Default Perl: Disk Space

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]
Attached Files To view attachments in this forum your post count must be 1 or greater. You currently have 0 posts.
__________________
CodeCall Blog | CodeCall Wiki | Shareware Site | Linux Forum | Write a Blog
The CodeCall Wiki is now fully integrated with vBulletin users! Check it out and add some new pages!
Reply With Quote

Sponsored Links