Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Jul 2001 03:40:31 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        Daniel Frazier <dfrazier@magpage.com>
Cc:        Joe Clarke <marcus@marcuscom.com>, Graham White <graham@bravenet.com>, FreeBSD-questions <FreeBSD-questions@FreeBSD.ORG>
Subject:   Re: Newbie Bash-question
Message-ID:  <20010714034031.B8428@hades.hell.gr>
In-Reply-To: <3B4F4499.1020100@magpage.com>; from dfrazier@magpage.com on Fri, Jul 13, 2001 at 02:57:29PM -0400
References:  <20010713144955.P25152-100000@shumai.marcuscom.com> <3B4F4499.1020100@magpage.com>

next in thread | previous in thread | raw e-mail | index | archive | help
From: Daniel Frazier <dfrazier@magpage.com>
Subject: Re: Newbie Bash-question
Date: Fri, Jul 13, 2001 at 02:57:29PM -0400

> here's the perl code we use to do this...
> 
> #!/usr/bin/perl
> 
...
>    open (SENDMAIL, "|/usr/lib/sendmail -t");
> 
>    print SENDMAIL <<EOF;
> To: sysadmin\@magpage.com
> Subject: Excessive Load Average !

Of course spawning a perl interpreter and a Sendmail process to do
this work might increase the load average even more, and if you put
this in a cronjob that runs every now and then, it can become even
trickier :)

Just a few random thoughts...

-giorgos

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010714034031.B8428>