Great Circle Associates Majordomo-Workers
(July 1997)
 

Indexed By Date: [Previous] [Next] Indexed By Thread: [Previous] [Next]

Subject: Re: List accounting scripts?
From: Kevin Kelleher <kevink @ MIT . EDU>
Date: Thu, 3 Jul 97 17:17:50 EDT
To: majordomo-workers @ greatcircle . com


>>>>>> "RD" == "William R Dickson <-- Technical Support" <wdickson@halcyon.com>> writes:
>
>RD> Has anybody written a perl script that'll keep track of list traffic,
>RD> either on a per-message x #subscribers or a message-size x #subscribers
>RD> basis?
>

I stuck this into resend just before the line with "sendmail" in it:

ListUseLog = "$homedir/ListUseLog";

@timepart = localtime;
$timepart[4]++;
$timepart[5] += 1900;
$bytesout = (-s $TMPDIR/resend.$$.out);
open (USELOG, ">> $ListUseLog");
print USELOG "$opt_l : $ctime'MoY[$timepart[4]] $timepart[3], $timepart[5] ($bytesout)\n";
close (USELOG);

PS - Dave Wolfe, could you please send me that how-to-digest file that you often
send people?  Thanks.


_________________________________________________________________________
Kevin Kelleher       <kevink@mit.edu>         http://world.std.com/~fury/

"In the absence of Professor Einstein,
I am taking the liberty of replying in his behalf."     - Robert Benchley


Indexed By Date Previous: Re: archive/search...
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: archive/search...
From: Manar Hussain <manar@ivision.co.uk>
Indexed By Thread Previous: Re: List accounting scripts?
From: Jason L Tibbitts III <tibbs@hpc.uh.edu>
Next: Re: majordomo 1.94.3 vs ListProc 8.1???
From: Brian Behlendorf <brian@hyperreal.org>

Google
 
Search Internet Search www.greatcircle.com