Thank you very much - this corrected the problem and the resulting graphs
are pretty cool!

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of David Taylor
Sent: Friday, December 10, 1999 1:06 PM
To: [EMAIL PROTECTED]
Subject: Re: re:diald log maintenance


On Fri, 10 Dec 1999, Morris Maynard wrote:

>
> Here are the first several lines from /var/log/diald.log.1:
> Wed Dec  1 05:56:26 1999 EST: Calling site my.isp.ip.addr.
> Wed Dec  1 05:56:34 1999 EST: Connected to site my.isp.ip.addr.
> Wed Dec  1 05:57:36 1999 EST: Disconnected. Call duration 62 seconds.
> IP transmitted 508 bytes and received 3752 bytes.
> Wed Dec  1 07:16:58 1999 EST: Calling site my.isp.ip.addr.
> Wed Dec  1 07:17:06 1999 EST: Connected to site my.isp.ip.addr.
> Wed Dec  1 07:25:16 1999 EST: Disconnected. Call duration 490 seconds.
> IP transmitted 79066 bytes and received 320469 bytes.
> (I stubbbed out the real isp ip address)
> Any ideas?

aha..

Try this:

        change
$timestamp =~ /^(\S+) $month (\d+) (\d+):\d+:\d+ \d+/ || next;
        to
$timestamp =~ /^(\S+) $month +(\d+) (\d+):\d+:\d+ \d+/ || next;
                             ^
                            ^^^

> > The tests in lines 35 and 36 fail:
> >
> >       $timestamp =~ /^(\S+) $month (\d+) (\d+):\d+:\d+ \d+/ || next;
> >       ( $dayOfWeek = $daysOfWeek{$1} ) > 0 || next;
> >

--
David Taylor
E-Mail: [EMAIL PROTECTED]   [Remove .spam]
ICQ:    268004
PGP:    [EMAIL PROTECTED]           [autoresponder]


-
To unsubscribe from this list: send the line "unsubscribe linux-diald" in
the body of a message to [EMAIL PROTECTED]

Reply via email to