home *** CD-ROM | disk | FTP | other *** search
- ECHOREPT -- Incoming echo traffic reporter for Gecho
- by Tom Almy, Fidonet 1:105/290, Internet tom.almy@tek.com
- Copyright 1993 by Thomas Almy.
-
- ECHOREPT is a free program, which comes with source code in C. You
- may modify it, and do anything you want with it. Use it at your own
- risk.
-
- ECHOREPT is based on the program GMS, but is easier to use, and
- produces simpler output. I wrote it because I wanted reports on a
- revolving basis -- for example, the last 7 days rather than during the
- current week.
-
- To use, place ECHOREPT in your path, then run it as follows after every
- gecho toss:
-
- gecho toss
- echorept
-
- The ECHOREPT program normally deletes the summary.log file after running.
- If you are using GMS at the same time, then use the following commands:
-
- gecho toss
- copy %ge%\summary.log temp.log
- gms <any gms arguments>
- copy temp.log %ge%\summary.log
- erase temp.log
- echorept
-
- ECHOREPT can also keep separate tabulations for individual Gecho groups or
- combinations of groups. To create a record file for an individual group
- or groups specify the group letters (capitalized) after a hyphen as the
- first command line argument. For instance, to record groups A and C
- as a separate tabulation:
-
- echorept -AC
-
- The summary.log file is not deleted in this case, allowing multiple
- tabulations to be kept, even involving some of the same groups. The
- data is kept in a file netrep2.XYZ where XYZ are the first three groups
- named. It is important that the group combinations be specified consistantly,
- and that the first three be unique.
-
- To record groups A, B, and C separately, and B and C in combination, you
- could use the following batch program sequence:
-
- gecho toss
- echorept -A
- echorept -B
- echorept -C
- echorept -BC
- erase %ge%\summary.log
-
- ECHOREPT requires the correct setting of the GE environment variable.
- ECHOREPT creates and modifies a data file in the directory that it is
- run from. ECHOREPT is configured to handle over 5000 areas, and
- deletes dropped areas after they have had no traffic in thirty days.
- If groups are specified, the limitations apply to individual groups,
- expanding capacity even further.
-
- To create reports, give the report file name(s) as arguments. There
- are four reports. If insufficient arguments are given, only those
- arguments provided will produce reports. To not produce a specific
- report, give the name "nul". Besides "nul", the names must be unique.
-
- Reports are made from the general tabulation. To generate reports from
- a group tabluation, specify the group names in the first argument after
- a hyphen. In this case there can be four additional arguments after the
- group argument.
-
- echorept rep1.asc -- produce the first report as rep1.asc
- echorept rep1.asc rep2.asc rep3.asc rep4.asc -- produce all 4 reports
- echorept nul rep2.asc -- produce only the second report.
- echorept -BC nul rep2bc.asc -- produce second report based on tabulation
- of groups B and C created with "echorept -BC"
-
- The first report shows today's traffic, since last midnight.
-
- The second report shows traffic in the last seven days, and the totals for
- that period.
-
- The third report shows traffic in the last four weeks.
-
- The fourth report shows total traffic in 30 days.
-
-
- Enjoy!
-
- Tom
-
- REVISION HISTORY ==
-
- 12/93 -- Added ability to tabulate by groups.
-
- 6/93 -- Changed to dynamically allocate memory using a "huge" array to
- increase number of echo areas to limit by memory size. Fixed bug with
- having second argument in SET GE string.
-