home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / blog109 / binklog.dco < prev    next >
Text File  |  1993-08-05  |  10KB  |  197 lines

  1. Binklog :-: Binkley Log Statistics Generator : - : FREEWARE
  2. --------------------------------------------
  3.  
  4. Binklog is useful for Nodes who want to keep an eye on how long they spend
  5. networking , wether there are any problems during their network runs and
  6. if they actually managed to connect with their hubs.
  7.  
  8. As well as the above Binklog is especially useful for Hubs or Hosts as they
  9. can keep an eye on when Nodes call in and if a nodes calling time is
  10. erratic or if they call each day or not ,then Binklog will show this up in
  11. the tables produced.
  12.  
  13. Binklog will also check any incoming AKA's , so if you poll out and a node
  14. has changed it's main domain or you usually poll a node and for some reason
  15. they poll you but using a different network address that you are both in.
  16. Then it will search the AKA lines for a matching address already known by
  17. Binklog and if found ,the total in ,out ,time connects and entry on the
  18. connection table will still be shown under it's old address.
  19.  
  20. This keeps the size of the reports produced to a minimum.
  21.  
  22. You can run Binklog at any time , if you only want to run it once a day then
  23. I suggest that you run it in a batch file, or in an event that you run after
  24. all your usual connects have polled in.
  25.  
  26. I run it in the batch file I use to process mail after each mailer connect
  27. so I have an upto-date list of mailer connects at all times.
  28.  
  29. What Binklog does is produce the following tables by reading the binkley.log
  30. file when run.
  31.  
  32. 1. Incoming Mailers List
  33.  
  34. The Z/J stand for Janus or Zedzap connects
  35. REQ shows an F against a node if they requested files
  36. ERR shows a ! if the node had a error occour
  37. ______________________________________________________________________________
  38. |       |          |                |          | Z R E  |         |         |
  39. |       |          |                |  Call    | / E R  | Bytes   | Bytes   |
  40. | Date  |   Time   |   Node/Point   |  Length  | J Q R  | In      | Out     |
  41. |_______|__________|________________|__________|________|_________|_________|
  42. |03 Jul | 02:30:50 |Lynx BBS ~UK~ 0 | 00:01:40 | J      |    8988 |  127563 |
  43. |03 Jul | 04:50:38 |Lynx BBS ~UK~ 0 | 00:10:22 | J      |    1405 |  954750 |
  44. |03 Jul | 10:53:48 |2:440/108.1 51: | 00:03:00 | J      |    4170 |  240531 |
  45. |03 Jul | 12:55:00 |     <FORTRESS> | 00:04:22 | J   !  |       0 |       0 |
  46. |03 Jul | 13:00:30 |     <FORTRESS> | 00:03:04 | J   !  |       0 |  108576 |
  47. |03 Jul | 13:11:48 | Daniel's Point | 00:02:16 | J      |       0 |   33081 |
  48. |03 Jul | 13:16:26 |     <FORTRESS> | 00:13:06 | J   !  |       0 | 1280064 |
  49. |03 Jul | 13:30:56 |     <FORTRESS> | 00:02:56 | J      |       0 |  455499 |
  50. |03 Jul | 13:52:28 | -Atlantis-(Uk) | 00:02:00 | J   F  |    6194 |  102238 |
  51. |03 Jul | 14:42:50 | Daniel's Point | 00:00:42 | J      |    5610 |     553 |
  52. |_______|__________|________________|__________|________|_________|_________|
  53. |04 Jul | 02:31:00 |Lynx BBS ~UK~ 0 | 00:01:30 | J      |    6795 |  102632 |
  54. |04 Jul | 04:50:54 |Lynx BBS ~UK~ 0 | 00:01:14 | J      |       0 |   82928 |
  55. |04 Jul | 04:58:38 | -Atlantis-(Uk) | 00:01:48 | J      |    6931 |   60588 |
  56. |04 Jul | 09:14:04 |       ALBI-Box | 00:00:34 | J      |   28617 |       0 |
  57. |04 Jul | 10:19:32 |   Paul's Point | 00:02:14 | J      |    6533 |  154112 |
  58. |04 Jul | 10:42:06 | Daniel's Point | 00:02:30 | J      |       0 |   36480 |
  59. |04 Jul | 11:42:58 | Daniel's Point | 00:00:34 | J      |    3572 |       0 |
  60.  
  61. 2. Outgoing Calls Log.
  62.  
  63. ______________________________________________________________________________
  64. |       |          |                |          | Z R E  |         |         |
  65. |       |          |                |  Call    | / E R  | Bytes   | Bytes   |
  66. | Date  |   Time   |   Node/Point   |  Length  | J Q R  | In      | Out     |
  67. |_______|__________|________________|__________|________|_________|_________|
  68. |03 Jul | 02:06:22 |      MicroMola | 00:01:20 | Z      |    3598 |   71630 |
  69. |03 Jul | 03:15:48 |     <FORTRESS> | 00:10:26 | J      |  947488 |    1988 |
  70. |03 Jul | 04:41:10 |      MicroMola | 00:01:30 | Z      |   37689 |    7455 |
  71. |03 Jul | 09:51:06 |      MicroMola | 00:01:50 | Z      |   14129 |   95328 |
  72. |03 Jul | 10:07:02 |     <FORTRESS> | 00:02:24 | J      |  206751 |   36534 |
  73. |03 Jul | 10:48:24 |      MicroMola | 00:00:40 | Z      |       0 |   32563 |
  74. |_______|__________|________________|__________|________|_________|_________|
  75. |04 Jul | 02:06:40 |      MicroMola | 00:01:34 | Z      |   14348 |   33238 |
  76. |04 Jul | 03:15:48 |     <FORTRESS> | 00:03:14 | J      |  271509 |    5448 |
  77. |04 Jul | 07:12:00 |      MicroMola | 00:03:12 | Z      |   86797 |   82136 |
  78. |04 Jul | 11:27:42 |[>~CyberHome~<] | 00:00:30 | Z      |       0 |     453 |
  79.  
  80. 3. Mailer Connections Table
  81.  
  82.  
  83.                        Monthly Mailer Connects
  84.  
  85.               |         1111111111222222222233
  86.     Node      |1234567890123456789012345678901
  87. ----------------------------------------------
  88.      2:255/404|   *                           |
  89.    2:440/108.1|  *                            |
  90.       90:102/0|  **                           |
  91.     90:400/750|   *                           |
  92.      100:101/0|  **                           |
  93.     100:101/12|  *                            |
  94.   100:1011/0.1|   *                           |
  95.   100:1011/0.6|  **                           |
  96.    100:1011/16|  **                           |
  97.    100:1011/17|  **                           |
  98. ----------------------------------------------
  99.  
  100. 4. Previous days Statistics Chart.
  101.  
  102. ______________________________________________
  103. |        Daily Statistics For 03 Jul         |
  104. |____________________________________________|
  105. | Calling      | Bytes   | Bytes   | Time    |
  106. | Node         | In      | Out     | Online  |
  107. |______________|_________|_________|_________|
  108. |   2:440/108.1|     4170|   240531| 00:03:00|
  109. |      90:102/0|  1154239|    38522| 00:12:50|
  110. |     100:101/0|    55416|   206976| 00:05:20|
  111. |    100:101/12|        0|  1844139| 00:23:28|
  112. |  100:1011/0.6|     5610|    33634| 00:02:58|
  113. |   100:1011/16|     6194|   102238| 00:02:00|
  114. |   100:1011/17|    10393|  1082313| 00:12:02|
  115. |______________|_________|_________|_________|
  116.  Grand Totals  |  1236022|  3548353| 01:01:38|
  117.                |_________|_________|_________|
  118.  
  119.  
  120. 5. Previous Months stats and This Month So Far.
  121.  
  122. ____________________________________________________________________________
  123. |                            Monthly Statistics                            |
  124. |__________________________________________________________________________|
  125. |                     Last Month             |     This Month So Far       |
  126. |__________________________________________________________________________|
  127. | Calling      | Bytes   | Bytes   | Time    | Bytes   | Bytes   | Time    |
  128. | Node         | In      | Out     | Online  | In      | Out     | Online  |
  129. |______________|_________|_________|_________|_________|_________|_________|
  130. |   2:440/108.1|        0|        0| 00:00:00|     4170|   240531| 00:03:00|
  131. |      90:102/0|        0|        0| 00:00:00|  1154239|    38522| 00:02:24|
  132. |     100:101/0|        0|        0| 00:00:00|    55416|   206976| 00:00:40|
  133. |    100:101/12|        0|        0| 00:00:00|        0|  1844139| 00:02:56|
  134. |  100:1011/0.6|        0|        0| 00:00:00|     5610|    33634| 00:00:42|
  135. |   100:1011/16|        0|        0| 00:00:00|     6194|   102238| 00:02:00|
  136. |   100:1011/17|        0|        0| 00:00:00|    10393|  1082313| 00:10:22|
  137. |______________|_________|_________|_________|_________|_________|_________|
  138.  Grand Totals  |        0|        0| 00:00:00|  1236022|  3548353| 00:22:04|
  139.                |_________|_________|_________|_________|_________|_________|
  140.  
  141.  
  142. The program is totally automatic , the Previous Days and Monthly Tables are
  143. updated as soon as BINKLOG reads in an entry with a new date or month in it.
  144.  
  145. it requires a 7 line config file to be edited (example included in this
  146. archive)
  147.  
  148. BINKLOG.CFG
  149.  
  150. g:\log\binkley.log
  151. e:\turbo\network\callers.lst
  152. e:\turbo\network\called.lst
  153. e:\turbo\network\daily.lst
  154. e:\turbo\network\monstat.lst
  155. e:\turbo\network\moncon.lst
  156. 8
  157. ----------------------
  158. 1.Binkley Log path
  159. 2.List of Calling Nodes
  160. 3.List of Nodes you called
  161. 4.Daily Stats (In/Out data sizes and total time on-line)
  162. 5.Monthly (same as number 4 but on-going current months totals and
  163.            last months totals)
  164. 6.Monthly connect graph
  165. 7.Number of days to keep lists numbers 2 and 3 for before
  166.   truncating them by 1 day per day
  167.  
  168. The files BINKLOG.CFG and BINKLOG.PRG can be placed anywhere , as long as
  169. that is the current directory when you run BINKLOG.
  170.  
  171. ---------------------------------------------------------------------------
  172. Any problems and I can be contacted at the following addresses
  173.  
  174. 2:440/108.0 , 51:105/100 , 90:102/140 , 100:1011/0  or  mettav.royle.org
  175.  
  176. FUTURE UPDATES
  177. ==============
  178.  
  179. The current setup uses plain ascii to hold the information , this ends up
  180. with a 30-40K worth of space being used by the end of a month , this was
  181. done this way to make any problems easy to identify , since only 1 bug has
  182. been identified (and fixed) during the month that the program was released
  183. I can now go about using word/byte/bit code to reduce that size dramaticaly.
  184.  
  185.  
  186. Disclaimer
  187. ==========
  188.  
  189. I cannot be held responsible for damage caused either directly or
  190. indirectly to either hardware or software by this program.
  191.  
  192. You use it entirely at your own risk.
  193.  
  194. ---------------------------------------------------------------------------
  195. I hope you find it useful.
  196.  
  197. Paul Baker.