From: wusel@hactar.hanse.de (Kai 'wusel' Siering)
Newsgroups: alt.sys.amiga.uucp
Subject: Re: uutraf
Date: 19 Aug 92 23:27:15 GMT
	<n+Wnr*o33@angle.cyvaned.sub.org><o3ntr*3G4@kink.PhaedraV.On.Ca>
Reply-To: "Kai 'wusel' Siering" <wusel@hactar.hanse.de>
Organization: Eastern Seaboard Fission Authority, Sietland, BRD
X-Newsreader: Ann 0.8n
MIME-Version: 1.0
Content-Transfer-Encoding: BINARY
Content-Type: text/plain; charset=iso-8859-1

In article <o3ntr*3G4@kink.PhaedraV.On.Ca>,
	hugh@kink.PhaedraV.On.Ca (Hugh D. Gamble) writes:
% In article <n+Wnr*o33@angle.cyvaned.sub.org>, Ralf S. Engelschall writes:
%
% > Ok, I think UUTRAF should become some options:
% >
% > "-f"   [from]    date the report starts
% > "-t"   [to]      date the report ends
%
% How about supporting date and *time*, or allow specifying a relative
% number of days or hours back.  A lot of sites get big newsfeeds
% between 6pm and 8am, and want to calculate their daily stats sometime
% in the morning to cover the whole night's feed (the past 24 hours).
%
% The -f -t format could be a pain for people running uutraf from a
% script.  I'd like something like "-d 24" to specify a report from 24
% hours ago to the present.

     I wanted  to  put  something  like  that into my `uuacct' since I
started  to hack it together, but never really needed it ... Anyway, I
just  put  it  in  and  posted  the  binary  to a.s.a.u.patches, maybe
someone will find it useful ...

% A file option instead of a time option would make me happy, but I
% wouldn't complain if it had both.

`uuacct' has both =:->

| Usage: uuacct [-H<host>] [-f<dd-mm-yy>] [-t<dd-mm-yy>] [-d<days>] [-h<hours>] [xferstat-file]

[...]
% > UUTraf Host Status on angle                          Tue Jul 21 11:22:36 1992
% >
% > Remote   ---------K-Bytes-------- --Hours-- --Avg CPS-- ---Files--- -Connect-
% >  Host       Recv    Sent   Total  Recv Sent  Recv  Sent  Recv  Sent Total Bad
% > -------- ------- ------- -------- ---- ---- ----- ----- ----- ----- ----- ---
% > cyvaned    15612    4980    20593  124    9    34   153   849   288   XXX YY%
% > brumuc     43617    2622    46239   20    1   595   505  4053   496   XXX YY%
% > bofe         519      31      550    0    0   351    76    93    34   XXX YY%
% > -------- ------- ------- -------- ---- ---- ----- ----- ----- ----- ----- ---
% > Total      59749    7633    67383  145   10   245   183  4995   818   XXX YY%

In order to give you an impression of what `uuacct' writes:

|                           straylight.hactar.Sub.ORG
|                            UUCP GENERAL ACCOUNTING
|              Tue Oct  1 00:00:00 1991 - Wed Aug 19 23:59:59 1992
|
| Site        KBytes  Time   KBytes (data)    Calls      Files    CPS  CPS  Last
|              (raw) hh:mm     Out      In Out Tot Err  Out   In  raw data
| ------------------------------------------------------------------------------
| hactar      9920.4  4:21  2137.5  4894.4 131 131  11  479  472  647  459  7d1h
| .failed.      22.4  0:24     0.0     0.0 165 165  14    0    0   16    0   18d
| ------------------------------------------------------------------------------
| .totals.      9920  4:21    2137    4894 131 131  11  479  472  647  459  316d
| ==============================================================================

     `.failed.' are  the  `no-connect connections', i. e. where uucico
failed  to  connect  to  a remote host for some reason.  `Fail' is the
number  of  entries  with  `#'  in the first column (usually `abnormal
termination' or `conversation  failed'). Rest should be clear =:->

Ciao,
			kai

-- _
_ // Kai 'wusel' Siering, Villa Straylight, Hamburg, BRD <wusel@hactar.hanse.de>
\X/    (Heute wieder im schoenen Sietland: <hactar.hanse.de!straylight!wusel>)

"Daylight savings time is a patchwork mess only a politician could love."
                    -- From the "Bugs" section of cnews-020592/libc/getabsdate.3
Newsgroups: alt.sys.amiga.uucp
From: mlednor@tower.demon.co.uk (Mark `Jay' Lednor)