Short: compute phone cost from the XferStat logfile Type: comm/uucp Uploader: jow@rz.uni-wuerzburg.de Author: jow@rz.uni-wuerzburg.de This is the latest version of my UUCP xfer statistics utility. Extract from the documentation: - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - XStat V1.14 Documentation ========================= Program and documentation are (C) Copyright 1992,1993 by Jürgen Weinelt. IMPORT StdDisclaimer; (* in short: use it at your own risk *) XStat was carefully tested, but there's certainly plenty of room for bugs. XStat V1.14 is Freeware, non-commercial distribution is o.k. as long as the following conditions are met: * Source, executable and documentation must be distributed together (XStat.mod, XStat, XStat.data, XStat.doc, XStat.dok and Make), and these files must be intact (you're not allowed to make changes). You're NOT allowed to add files to the archive. * This program may be included on PD/freeware CDs if I am allowed to order one of those CDs at 50% off the retail price (or cheaper :). Of course a free copy of the CD would be even nicer... Exception: Fred Fish has UNCONDITIONAL permission to add this program version to his library, no matter if he's distributing it on floppy disk or on CD. XStat requires AmigaOS V37 or later (that's 2.04 or later). Purpose ======= XStat extracts statistic information from the Xferstat file created by some UUCICOs (tested with the SWB and wUUCP variant). The most important information XStat offers to you is the phone cost for a certain number of connects. - snip - XStat's output ============== Example: > (On 25-DEC-93) XStat last 30 > > XStat 1.14 > © Copyright 1992,1993 by Jürgen Weinelt > XStat is Freeware - read the docs for details. > > > > TOTAL: Connection statistics for incoming calls. > [...] > > > > TOTAL: Connection statistics for outgoing calls. > > Transfer statistics from 25-Nov-93 18:24:07 to 25-Dez-93 18:24:07 > > number of connects 54 > local connects 0 > ignored connects 0 > > total online time 8112 seconds > total phone units 98 units > total phone cost 22.540 DM > average online time 151 seconds/connect > average phone units 1.815 units/connect > average phone cost 0.417 DM/connect > > total gross read 10491743 bytes > total gross send 1819008 bytes > total net read 8347777 bytes > total net send 106961 bytes > average gross read 194292 bytes/connect > average gross send 33686 bytes/connect > average net read 154589 bytes/connect > average net send 1981 bytes/connect > > average speed 1517 CPS (gross data transfer) > fastest connect 1653 CPS (gross data transfer) > average speed 1042 CPS (net data transfer) > fastest connect 1366 CPS (net data transfer) > > average cost 1.920 DM/MB (gross data transfer) > average cost 2.795 DM/MB (net data transfer) Notes: "gross" means, the figure includes the protocol overhead. "net" means, the figure excludes the protocol overhead. - snip - History ======= V1.14 added output formats, connection time offset, flat rate feature V1.13 added "PREVIOUS" and "LAST", added date line to output V1.12 added ".illegal." feature fixed a potential bug in the XferStat parsing code V1.11 added multiple N-line feature and ".default." host name to XStat.data N-Line Syntax. fixed a minor bug in the EOF handling of the Xferstat parser. - snip - ============================= Archive contents ============================= Original Packed Ratio Date Time Name -------- ------- ----- --------- -------- ------------- 3666 1568 57.2% 25-Dec-93 21:18:20 XStat114.readme 27492 13809 49.7% 25-Dec-93 18:21:50 XStat 65413 14310 78.1% 25-Dec-93 18:21:40 XStat.mod 17484 6163 64.7% 25-Dec-93 18:35:56 XStat.doc 20129 7384 63.3% 25-Dec-93 18:35:44 XStat.dok 3723 1267 65.9% 25-Dec-93 17:23:26 FORMS.doc 4509 1504 66.6% 25-Dec-93 17:38:06 FORMS.dok 1928 414 78.5% 25-Dec-93 21:38:26 XStat.data 134 72 46.2% 25-Dec-93 18:18:36 Make 303 180 40.5% 25-Dec-93 21:36:40 ExecuteMe 477 249 47.7% 22-Aug-93 22:17:56 scripts/accounting_daemon 359 190 47.0% 22-Aug-93 22:16:24 scripts/calc_traffic_daily 615 245 60.1% 22-Aug-93 22:16:54 scripts/calc_traffic_weekly 1002 608 39.3% 22-Aug-93 22:36:58 scripts/LIESMICH 1042 617 40.7% 25-Dec-93 14:39:50 scripts/README 28336 15033 46.9% 16-Oct-92 13:56:10 scripts/uuacct 7153 2905 59.3% 28-Aug-93 15:00:06 scripts/uuacct.man -------- ------- ----- --------- -------- 183765 66518 63.8% 27-Dec-93 13:59:22 17 files