<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2712.300" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Actually since this does some massive cpu usage for 
about 20 seconds, i found a better alternative :)<BR>like u mentioned below, 
just have cron do /cgi-bin/stats.pl > /http/stats.html or the equivelent 
every 5 or 10 minutes. That way there is no huge load on server every time you 
refresh.</FONT></DIV>
<DIV><FONT face=Arial size=2>Hell you could prolly do every 1 minute and be 
fine, something like</FONT></DIV>
<DIV><FONT face=Arial size=2>*/1 * * * * /path-toscript/stats.pl > 
/path-to-webpages/pagename.html</FONT></DIV>
<DIV> </DIV>
<BLOCKQUOTE dir=ltr 
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
  <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
  <DIV 
  style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
  <A title=felker@GMX.NET href="mailto:felker@GMX.NET">Sander Jonkers</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>To:</B> <A title=MAILSCANNER@JISCMAIL.AC.UK 
  href="mailto:MAILSCANNER@JISCMAIL.AC.UK">MAILSCANNER@JISCMAIL.AC.UK</A> </DIV>
  <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 25, 2002 5:21 
  PM</DIV>
  <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Sendmail WebStats (sort of a 
  mod)</DIV>
  <DIV><BR></DIV>> oops, u may have to edit it to point to your maillogs, 
  sorry, knew i<BR>> forgot something :)<BR><BR>It must be something else: I 
  also get a white page, but the maillog dir and<BR>other settings are OK. 
  Proof: 'perl stats.pl > test.html' from the<BR>commandline generates a 
  perfect overview in test.html.<BR><BR>Isn't it a CGI-BIN/rights setting that 
  must be set or done?<BR><BR>Sander<BR><BR><BR>><BR>>   ----- 
  Original Message -----<BR>>   From: Steve 
  Evans<BR>>   To: MAILSCANNER@JISCMAIL.AC.UK<BR>>   
  Sent: Friday, January 25, 2002 4:31 PM<BR>>   Subject: Re: 
  Sendmail WebStats (sort of a mod)<BR>><BR>><BR>>   So all I 
  have to do is put it in my cgi-bin?  That's it?  If so all I<BR>> 
  get is a blank page.<BR>><BR>>   
  Steve<BR>>     -----Original 
  Message-----<BR>>     From: Kelly Hamlin 
  [mailto:fizz@BOMB.NET]<BR>>     Sent: Thursday, January 
  24, 2002 5:07 PM<BR>>     To: 
  MAILSCANNER@JISCMAIL.AC.UK<BR>>     Subject: Sendmail 
  WebStats (sort of a mod)<BR>><BR>><BR>>     For 
  those interested<BR>>     
  http://sairys.bomb.net/sendmail-webstats.tar.gz<BR>><BR>>     
  put in your cgi-bin dir and browse to 
  it.<BR>><BR>>     produces stats to the web, must 
  have apache (or some httpd daemon<BR>> 
  running)<BR>><BR>>     To see a sample, 
  http://sairys.bomb.net/sample.gif<BR>><BR>><BR><BR>--<BR>Sent through 
  GMX FreeMail - http://www.gmx.net
  <P>
  <HR>
  <P></P>
  <META content="MSHTML 6.00.2712.300" name=GENERATOR>
  <STYLE></STYLE>
  <DIV><FONT face=Arial size=2>oops, u may have to edit it to point to your 
  maillogs, sorry, knew i forgot something :)</FONT></DIV>
  <DIV> </DIV>
  <BLOCKQUOTE dir=ltr 
  style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
    <DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
    <DIV 
    style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B> 
    <A title=sevans@FOUNDATION.SDSU.EDU 
    href="mailto:sevans@FOUNDATION.SDSU.EDU">Steve Evans</A> </DIV>
    <DIV style="FONT: 10pt arial"><B>To:</B> <A title=MAILSCANNER@JISCMAIL.AC.UK 
    href="mailto:MAILSCANNER@JISCMAIL.AC.UK">MAILSCANNER@JISCMAIL.AC.UK</A> 
    </DIV>
    <DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, January 25, 2002 4:31 
    PM</DIV>
    <DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Sendmail WebStats (sort of 
    a mod)</DIV>
    <DIV><BR></DIV>
    <DIV><SPAN class=786103121-25012002><FONT face=Arial color=#0000ff size=2>So 
    all I have to do is put it in my cgi-bin?  That's it?  If so all I 
    get is a blank page.</FONT></SPAN></DIV>
    <DIV><SPAN class=786103121-25012002><FONT face=Arial color=#0000ff 
    size=2></FONT></SPAN> </DIV>
    <DIV><SPAN class=786103121-25012002><FONT face=Arial color=#0000ff 
    size=2>Steve</FONT></SPAN></DIV>
    <BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
      <DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma 
      size=2>-----Original Message-----<BR><B>From:</B> Kelly Hamlin 
      [mailto:fizz@BOMB.NET]<BR><B>Sent:</B> Thursday, January 24, 2002 5:07 
      PM<BR><B>To:</B> <A 
      href="mailto:MAILSCANNER@JISCMAIL.AC.UK">MAILSCANNER@JISCMAIL.AC.UK</A><BR><B>Subject:</B> 
      Sendmail WebStats (sort of a mod)<BR><BR></FONT></DIV>
      <DIV><FONT face=Arial size=2>For those interested</FONT></DIV>
      <DIV><FONT face=Arial size=2><A 
      href="http://sairys.bomb.net/sendmail-webstats.tar.gz">http://sairys.bomb.net/sendmail-webstats.tar.gz</A></FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>put in your cgi-bin dir and browse to 
      it.</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>produces stats to the web, must have apache 
      (or some httpd daemon running)</FONT></DIV>
      <DIV><FONT face=Arial size=2></FONT> </DIV>
      <DIV><FONT face=Arial size=2>To see a sample, <A 
      href="http://sairys.bomb.net/sample.gif">http://sairys.bomb.net/sample.gif</A></FONT></DIV>
      <DIV><FONT face=Arial 
size=2></FONT> </DIV></BLOCKQUOTE></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>