IT Community - Software Programming, Web Development and Technical Support

Perl: Disk Space

This is a discussion on Perl: Disk Space within the Perl forums, part of the Software Development category; This is a perl script written to check the the disk space of a certain partion/directory. This was written ...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Perl

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 02-24-2007, 01:07 AM
pranky pranky is offline
D-Web Programmer
 
Join Date: Feb 2007
Posts: 51
pranky is on a distinguished road
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]
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
iPod as a hard disk prasannavigneshr Technology BUZZzzzzz 4 01-30-2008 05:25 PM
100GB Disk Space, Free 1 year hosting! albert General Web hosting Discussions 2 01-02-2008 05:25 PM
Checking the server disk space Murali Server Management 6 08-29-2007 07:19 AM
What is the commannd used to check "file disk usage space ..? in Linux . itbarota Operating Systems 1 07-26-2007 12:41 AM
How to set Perl Interpreter within perl script sivaramakrishnan Perl 1 07-19-2007 06:45 AM


All times are GMT -7. The time now is 03:26 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0