Perl hack: Monitor disk space and send email alert
February 23, 2007 (8:00:00 AM) - 1 year, 4 months ago
Share
a>
Print
Comments
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."