home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / smplg107 / semplog.dco < prev    next >
Text File  |  1994-01-14  |  12KB  |  236 lines

  1. Semplog :-: Semper Log Statistics Generator : - : FREEWARE
  2. -------------------------------------------
  3.  
  4. Semplog requires the following logging options to be active to work
  5. 100%
  6.  
  7.                    !  =  /  e  w  ~  #  ?
  8.  
  9.  
  10. Semplog is useful for Nodes or points who want to keep an eye on how long
  11. they spend networking , wether there are any problems during their network
  12. runs and if they actually managed to connect with their hubs or nodes.
  13.  
  14. As well as the above Semplog is especially useful for Hubs or Hosts as they
  15. can keep an eye on when Nodes call in and if a nodes calling time is
  16. erratic or if they call each day or not ,then Semplog will show this up in
  17. the tables produced.
  18.  
  19. Semplog will also check any incoming AKA's , so if you poll out and a node
  20. has changed it's main domain or you usually poll a node and for some reason
  21. they poll you but using a different network address that you are both in.
  22. Then it will search the AKA lines for a matching address already known by
  23. Semplog and if found ,the total in ,out ,time connects and entry on the
  24. connection table will still be shown under it's old address.
  25.  
  26. This keeps the size of the reports produced to a minimum.
  27.  
  28. You can run Semplog at any time , if you only want to run it once a day then
  29. I suggest that you run it in a batch file, or in an event that you run after
  30. all your usual connects have polled in and you make sure that your log isn't
  31. truncated to quickly or semplog will miss some of it's data.
  32.  
  33. I run it after each mailer connect so I have an upto-date list of mailer
  34. connects at all times.
  35.  
  36. What Semplog does is produce the following tables by reading the Semper.log
  37. file when run.
  38.  
  39. 1. Incoming Mailers List
  40.  
  41. The Z/H/J/W stand for Zedzap,Hydra and Janus,Wazoo (When available) connects
  42. REQ shows an F against a node if they requested files
  43. ERR shows a ! if the node had a error occour
  44. ___________________________________________________________________________
  45. |       |          |                |          |Z R E |         |         |
  46. |       |          |                |  Call    |H E R | Bytes   | Bytes   |
  47. | Date  |   Time   |   Node/Point   |  Length  |J Q R | In      | Out     |
  48. |       |          |                |          |W     |         |         |
  49. |_______|__________|________________|__________|______|_________|_________|
  50. |29 DEC | 00:58:28 |Graham's Point  | 00:03:02 |Z     |    3298 |  258923 |
  51. |29 DEC | 02:32:02 |Lynx BBS ~UK~ 0 | 00:04:36 |Z     |    3630 |  391732 |
  52. |29 Dec | 02:40:10 |     -Atlantis- | 00:00:24 |H     |    4977 |   10410 |
  53. |29 Dec | 04:50:08 |     -Atlantis- | 00:00:30 |H     |    3788 |   13064 |
  54. |29 Dec | 04:56:52 |Lynx BBS ~UK~ 0 | 00:26:28 |Z     |       0 | 2515288 |
  55. |29 Dec | 05:26:28 |NICKELODEON BBS | 00:00:50 |Z     |    1936 |   38293 |
  56. |29 DEC | 08:31:06 |Stephen's Point | 00:03:20 |Z     |       0 |   48237 |
  57. |29 Dec | 15:12:26 |   Paul's Point | 00:01:28 |Z     |   17303 |   63351 |
  58. |29 Dec | 18:14:38 |   Paul's Point | 00:10:58 |Z     |      97 |  989913 |
  59. |29 Dec | 18:28:18 |-= STeve's Poin | 00:00:56 |Z     |    3811 |   13997 |
  60. |29 Dec | 19:13:42 |   Peter Sharpe | 00:01:02 |Z     |       0 |   59910 |
  61. |29 Dec | 20:05:06 | Daniel's Point | 00:01:06 |Z     |    4836 |    2398 |
  62. |29 Dec | 20:10:24 |SouthWest UK Ne | 00:00:34 |H     |    1662 |   36937 |
  63. |29 Dec | 20:12:42 |-= STeve's Poin | 00:00:56 |Z     |    6257 |   10787 |
  64. |_______|__________|________________|__________|______|_________|_________|
  65. |30 Dec | 01:16:38 |Graham's Point  | 00:01:20 |Z     |    4436 |   99667 |
  66. |30 Dec | 01:22:42 |It's rude to Po | 00:01:26 |Z     |   16310 |  238634 |
  67. |30 Dec | 01:27:32 |It's rude to Po | 00:03:56 |Z     |       0 |  325451 |
  68. |30 Dec | 02:32:02 |Lynx BBS ~UK~ 0 | 00:02:46 |Z     |   10616 |  159766 |
  69. |30 Dec | 02:40:08 |     -Atlantis- | 00:00:28 |H     |       0 |   22425 |
  70. |30 Dec | 04:49:58 |     -Atlantis- | 00:00:38 |H     |    6642 |   14632 |
  71. |30 Dec | 04:56:58 |Lynx BBS ~UK~ 0 | 00:02:18 |Z     |       0 |  191744 |
  72. |30 Dec | 05:11:32 |NICKELODEON BBS | 00:00:52 |Z     |       0 |   48032 |
  73.  
  74. 2. Outgoing Calls Log.
  75. ___________________________________________________________________________
  76. |       |          |                |          |Z R E |         |         |
  77. |       |          |                |  Call    |H E R | Bytes   | Bytes   |
  78. | Date  |   Time   |   Node/Point   |  Length  |J Q R | In      | Out     |
  79. |       |          |                |          |W     |         |         |
  80. |_______|__________|________________|__________|______|_________|_________|
  81. |28 DEC | 02:05:16 |     London Net | 00:01:28 |H     |   23128 |   12428 |
  82. |28 Dec | 03:15:16 |NeST South East | 00:01:44 |H     |  257876 |   46506 |
  83. |28 Dec | 10:53:40 |     London Net | 00:00:52 |Z     |       0 |    7990 |
  84. |28 Dec | 10:56:40 |     London Net | 00:00:54 |H     |   23486 |     840 |
  85. |_______|__________|________________|__________|______|_________|_________|
  86. |29 DEC | 02:05:18 |     London Net | 00:00:42 |Z     |   10861 |    2482 |
  87. |29 DEC | 03:15:16 |NeST South East | 00:25:30 |H     | 2547892 |   41040 |
  88. |29 Dec | 04:40:16 |     London Net | 00:01:44 |Z     |   57445 |    7313 |
  89. |29 Dec | 11:32:38 |SouthWest UK Ne | 00:01:08 |H   ! |       0 |       0 |
  90. |29 Dec | 11:36:42 |     London Net | 00:01:30 |Z     |   12587 |   41258 |
  91. |29 Dec | 17:43:02 |     <Fortress> | 00:00:10 |H     |     255 |       0 |
  92. |29 Dec | 18:07:10 | Daniel's Point | 00:03:40 |Z     |    1117 |   41933 |
  93. |29 Dec | 18:42:20 |NeST South East | 00:02:12 |H     |  245637 |   42164 |
  94. |29 Dec | 19:21:52 |SouthWest UK Ne | 00:00:12 |H     |       0 |    1105 |
  95. |_______|__________|________________|__________|______|_________|_________|
  96. |30 Dec | 02:05:16 |     London Net | 00:00:42 |Z     |     698 |   15766 |
  97. |30 Dec | 03:15:16 |NeST South East | 00:04:42 |H     |  826026 |   14927 |
  98. |30 Dec | 04:40:16 |     London Net | 00:01:34 |Z     |   25275 |    3529 |
  99.  
  100. 3. Mailer Connections Table
  101.  
  102.                        Monthly Mailer Connects
  103.  
  104.               |         1111111111222222222233
  105.     Node      |1234567890123456789012345678901
  106. ----------------------------------------------
  107.    2:254/108.1|                            *  |
  108.   2:254/108.10|                            *  |
  109.   51:502/103.0|                            ** |
  110.     90:102/0.0|                            ** |
  111.    100:101/0.0|                            ** |
  112.    100:107/0.0|                            *  |
  113.   100:1011/0.2|                             * |
  114.   100:1011/0.6|                            *  |
  115.   100:1011/0.8|                            ** |
  116.   100:1011/0.9|                            *  |
  117.  100:1011/0.13|                            *  |
  118.  100:1011/16.0|                            ** |
  119.  100:1011/17.0|                            ** |
  120. ----------------------------------------------
  121.  
  122. 4. Previous days Statistics Chart.
  123.  
  124. ______________________________________________
  125. |        Daily Statistics for 29 Dec         |
  126. |____________________________________________|
  127. | Calling      | Bytes   | Bytes   | Time    |
  128. | Node         | In      | Out     | Online  |
  129. |______________|_________|_________|_________|
  130. |   2:254/108.1|    34800|  2106528| 00:24:52|
  131. |  2:254/108.10|    20136|    49568| 00:03:44|
  132. |  51:502/103.0|     3872|    76586| 00:01:40|
  133. |    90:102/0.0|  5587568|   166408| 00:55:44|
  134. |   100:101/0.0|   161786|   102106| 00:07:52|
  135. |   100:107/0.0|     3324|    76084| 00:03:48|
  136. |  100:1011/0.6|    11906|    88662| 00:09:32|
  137. |  100:1011/0.8|     6596|   517846| 00:06:04|
  138. |  100:1011/0.9|        0|   119820| 00:02:04|
  139. | 100:1011/0.13|        0|    96474| 00:06:40|
  140. | 100:1011/16.0|    17530|    46948| 00:01:48|
  141. | 100:1011/17.0|     7260|  5814040| 01:02:08|
  142. |______________|_________|_________|_________|
  143.  Grand Totals  |  5854778|  9261070| 03:05:56|
  144.                |_________|_________|_________|
  145.  
  146.  
  147. 5. Previous Months stats and This Month So Far.
  148.  
  149. ____________________________________________________________________________
  150. |                            Monthly Statistics                            |
  151. |__________________________________________________________________________|
  152. |                     Last Month             |     This Month So Far       |
  153. |__________________________________________________________________________|
  154. | Calling      | Bytes   | Bytes   | Time    | Bytes   | Bytes   | Time    |
  155. | Node         | In      | Out     | Online  | In      | Out     | Online  |
  156. |______________|_________|_________|_________|_________|_________|_________|
  157. |   2:254/108.1|    17400|  1053264| 00:10:58|    34800|  2106528| 00:10:58|
  158. |  2:254/108.10|    10068|    24784| 00:00:56|    20136|    49568| 00:00:56|
  159. |  51:502/103.0|     1936|   104593| 00:01:30|     3872|   508874| 00:01:42|
  160. |    90:102/0.0|  3309536|   176216| 00:03:56| 13021802|   300751| 00:06:54|
  161. |   100:101/0.0|   150993|    81141| 00:02:24|   395543|   275761| 00:03:04|
  162. |   100:107/0.0|     1662|    38042| 00:00:34|     3324|    76084| 00:00:34|
  163. |  100:1011/0.2|        0|        0| 00:00:00|   146790|  5076765| 00:03:56|
  164. |  100:1011/0.6|     5953|    80519| 00:02:48|    11906|    88662| 00:01:06|
  165. |  100:1011/0.8|    43020|   361893| 00:04:14|    46520|  1414849| 00:04:22|
  166. |  100:1011/0.9|        0|    59910| 00:01:02|        0|   119820| 00:01:02|
  167. | 100:1011/0.11|        0|    22962| 00:00:46|        0|        0| 00:00:00|
  168. | 100:1011/0.13|        0|    48237| 00:03:20|        0|    96474| 00:03:20|
  169. | 100:1011/16.0|    18099|    61958| 00:00:54|    77308|   380461| 00:01:08|
  170. | 100:1011/17.0|    10890|  3083010| 00:27:34|   102804|  8977630| 00:28:46|
  171. |______________|_________|_________|_________|_________|_________|_________|
  172.  Grand Totals  |  3569557|  5196529| 00:60:56| 13864805| 19472227| 01:07:48|
  173.                |_________|_________|_________|_________|_________|_________|
  174.  
  175.  
  176. The program is totally automatic , the Previous Days and Monthly Tables are
  177. updated as soon as Semplog reads in an entry with a new date or month in it.
  178.  
  179. it requires an 8 line config file to be edited (example included in this
  180. archive)
  181. --------------------------------Start Here--------------------------------
  182. g:\log\SEMPER.LOG
  183. e:\turbo\network\callers.lst
  184. e:\turbo\network\called.lst
  185. e:\turbo\network\daily.lst
  186. e:\turbo\network\monstat.lst
  187. e:\turbo\network\monthly.lst
  188. 8
  189. e:\turbo\turbo.log
  190. ----------------------
  191. 1.Binkley Log path
  192. 2.List of Calling Nodes
  193. 3.List of Nodes you called
  194. 4.Daily Stats (In/Out data sizes and total time on-line)
  195. 5.Monthly (sane as number 4 but on-going current months totals and
  196.            last months totals)
  197. 6.Monthly connect graph
  198. 7.Number of days to keep lists numbers 2 and 3 for before
  199.   truncating them by 1 day per day
  200. 8.Path to Turbo.log if you are using STATSGEN , this will put a log entry
  201.   into the TURBO.LOG if it is an incoming mailer , which STATSGEN will then
  202.   add into your BBS useage graph that STATSGEN generates , this will give
  203.   a truer picture to your users of when the BBS is busy.
  204.   Leave blank if you aren't using Turbo/statsgen or the useage graph.
  205. --------------------------------End here----------------------------------
  206.  
  207. The files Semplog.CFG and Semplog.PRG can be placed anywhere , as long as
  208. that is the current directory when you run Semplog.
  209.  
  210. ---------------------------------------------------------------------------
  211. Any problems and I can be contacted at the following addresses
  212.  
  213. 2:254/108.0 , 51:502/100 , 90:102/140 , 100:1011/0  or  mettav.royle.org
  214.  
  215. FUTURE UPDATES
  216. ==============
  217.  
  218. The current setup uses plain ascii to hold the information , this ends up
  219. with a 30-40K worth of space being used by the end of a month , this was
  220. done this way to make any problems easy to identify.
  221. I hope to be able to convert the data output to use word/byte/bit code
  222. to reduce that size dramaticaly some time in the near future.
  223.  
  224.  
  225. Disclaimer
  226. ==========
  227.  
  228. I cannot be held responsible for damage caused either directly or
  229. indirectly to either hardware or software by this program.
  230.  
  231. You use it entirely at your own risk.
  232.  
  233. ---------------------------------------------------------------------------
  234. I hope you find it useful.
  235.  
  236. Paul Baker.