February 23, 2007

Perl hack: Monitor disk space and send email alert

Anonymous Reader writes "This article explains how to write a perl script that can monitor your disk space under UNIX or Linux and send me an email alert to admin.

There is a nice perl system routine called Perl df or Filesys::DiskSpace. This routine displays information on a file system such as its type, the amount of disk space occupied, the total disk space and the number of inodes etc."

Link: cyberciti.biz


  • Perl
Click Here!