perl

Speeding Up Perl Scripts With SpeedyCGI/PersistentPerl On Debian Etch

| | | | | | | | |

This tutorial shows how to install and use SpeedyCGI (also known as PersistentPerl) on a Debian Etch system. SpeedyCGI is a way to run Perl scripts persistently, which can make them run much more quickly. It keeps the Perl interpreter running, and during subsequent runs, this interpreter is used to handle new executions instead of starting a new Perl interpreter each time.

Perl script to monitor free disk space and send email alert

| | | | |

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.

Syndicate content