On Tue, 07 Dec 1999, John Seifarth wrote:
>
> You'll also find two more scripts, one weekly, one monthly. The weekly
> script seems to work well, and is probably the most useful of the bunch.
> The monthly script doesn't seem to work anymore (but I vaguely seem to
> recall that it did work back in the days of diald 0.14 and kernel 1.2.13).
The monthly script doesn't work (very well), because the format of the bytes
sent/received lines have changed. I made a few tiny changes to the regexp's
in the template file, and it works fine.
I can't actually recall the changes, but if anyone wants them I could dig
out a fresh copy and diff them..
> They adequately report what diald is doing, and can easily warn sites using
> diald when something is wrong, like abnormally many unsuccessful connection
> attempts, as long as someone on the site actually reads them. They're not
> polished, make no attempt at analyzing anomalous behavior in the log files.
>
> But whet the hell, they're free, and they certainly have the indisputible
> advantage of existing. And since in all the years that I've been using them
> as is, out of the box with no changes whatsoever, I've never gotten around
> to hacking them into better shape, who am I to complain?
>
> If anyone out there has an improvement on the logging system, speak up!
> Don't be shy, if it's useful, I'm sure plenty of people are interested.
>
> John
>
As a quick example, here's the output I got for November
Diald Report for November 1999
Total time connected: 102.2h
Total traffic out: 35.0M
in: 157.3M
TIME ONLINE (IN HOURS)
11.0 | #
| #
8.8 | # # #
| # # ##
6.6 | # ## ## ##
| #### ## ## #
4.4 | #### # ## # ## #
| ###### ## # # ## #
2.2 | ###### ## ### ## #
| ############ ### ####
+---------------------------------
Day of 1 3 5 7 9 1 1 1 1 1 2 2 2 2 2 3
Month 1 3 5 7 9 1 3 5 7 9 1
16.8 | # 26.3 | ##
| # | ##
13.5 | # 21.0 | ####
| # | ####
10.1 | # # # 15.8 | ## ####
| ## # # | #### ####
6.7 | ## # # # 10.5 | #### ## ####
| ### # # ##### | ######## ####
3.4 | # ##### # ##### 5.3 | ######## ####
| # ##### # # # ##### | ##############
+-------------------------- +----------------
Hour of 0 2 4 6 8 1 1 1 1 1 2 2 Day of M T W T F S Su
Day 0 2 4 6 8 0 2 Week
INBOUND TRAFFIC (IN MEGABYTES)
21.3 | #
| #
17.0 | #
| #
12.8 | # # ##
| ## # ##
8.5 | # ## # ## #
| # ## ## # ####
4.3 | # # #### ## ### ####
| ## ###### ###########
+---------------------------------
Day of 1 3 5 7 9 1 1 1 1 1 2 2 2 2 2 3
Month 1 3 5 7 9 1 3 5 7 9 1
20.8 | # 43.0 | ##
| # | ##
16.6 | # 34.4 | ##
| # # # | ####
12.5 | # # # # # 25.8 | ## ####
| # # # ## # | ## ####
8.3 | ## # # ### # 17.2 | #### ####
| ### # # # # ### # | ######## ####
4.2 | # ### # # ## # ##### 8.6 | ######## ####
| # ##### # #### ##### | ##############
+-------------------------- +----------------
Hour of 0 2 4 6 8 1 1 1 1 1 2 2 Day of M T W T F S Su
Day 0 2 4 6 8 0 2 Week
OUTBOUND TRAFFIC (IN MEGABYTES)
5.3 | #
| #
4.3 | #
| #
3.2 | # #
| # ## #
2.1 | #### # #
| #### # ## ##
1.1 | ###### ## # ## #
| # ###### ## ### ####
+---------------------------------
Day of 1 3 5 7 9 1 1 1 1 1 2 2 2 2 2 3
Month 1 3 5 7 9 1 3 5 7 9 1
4.8 | # 10.7 | ##
| # | ##
3.8 | ## 8.5 | ##
| ## | ##
2.9 | ### # # 6.4 | ####
| ### # ## # | ## ####
1.9 | ### # # ## # 4.3 | #### ####
| ### # # #### | #### ## ####
1.0 | # ##### # # ##### 2.1 | ######## ####
| # ##### # # # ##### | ######## ####
+-------------------------- +----------------
Hour of 0 2 4 6 8 1 1 1 1 1 2 2 Day of M T W T F S Su
Day 0 2 4 6 8 0 2 Week
(Oh: and that just broke the pgp sig, serves me right for editting
emails after I stick them in the mail queue. bah.)
--
David Taylor
E-Mail: [EMAIL PROTECTED] [Remove .spam]
ICQ: 268004
PGP: [EMAIL PROTECTED] [autoresponder]
PGP signature