Binklog :-: Binkley Log Statistics Generator : - : FREEWARE -------------------------------------------- Binklog is useful for Nodes who want to keep an eye on how long they spend networking , wether there are any problems during their network runs and if they actually managed to connect with their hubs. As well as the above Binklog is especially useful for Hubs or Hosts as they can keep an eye on when Nodes call in and if a nodes calling time is erratic or if they call each day or not ,then Binklog will show this up in the tables produced. Binklog will also check any incoming AKA's , so if you poll out and a node has changed it's main domain or you usually poll a node and for some reason they poll you but using a different network address that you are both in. Then it will search the AKA lines for a matching address already known by Binklog and if found ,the total in ,out ,time connects and entry on the connection table will still be shown under it's old address. This keeps the size of the reports produced to a minimum. You can run Binklog at any time , if you only want to run it once a day then I suggest that you run it in a batch file, or in an event that you run after all your usual connects have polled in. I run it in the batch file I use to process mail after each mailer connect so I have an upto-date list of mailer connects at all times. What Binklog does is produce the following tables by reading the binkley.log file when run. 1. Incoming Mailers List The Z/J stand for Janus or Zedzap connects REQ shows an F against a node if they requested files ERR shows a ! if the node had a error occour ______________________________________________________________________________ | | | | | Z R E | | | | | | | Call | / E R | Bytes | Bytes | | Date | Time | Node/Point | Length | J Q R | In | Out | |_______|__________|________________|__________|________|_________|_________| |03 Jul | 02:30:50 |Lynx BBS ~UK~ 0 | 00:01:40 | J | 8988 | 127563 | |03 Jul | 04:50:38 |Lynx BBS ~UK~ 0 | 00:10:22 | J | 1405 | 954750 | |03 Jul | 10:53:48 |2:440/108.1 51: | 00:03:00 | J | 4170 | 240531 | |03 Jul | 12:55:00 | | 00:04:22 | J ! | 0 | 0 | |03 Jul | 13:00:30 | | 00:03:04 | J ! | 0 | 108576 | |03 Jul | 13:11:48 | Daniel's Point | 00:02:16 | J | 0 | 33081 | |03 Jul | 13:16:26 | | 00:13:06 | J ! | 0 | 1280064 | |03 Jul | 13:30:56 | | 00:02:56 | J | 0 | 455499 | |03 Jul | 13:52:28 | -Atlantis-(Uk) | 00:02:00 | J F | 6194 | 102238 | |03 Jul | 14:42:50 | Daniel's Point | 00:00:42 | J | 5610 | 553 | |_______|__________|________________|__________|________|_________|_________| |04 Jul | 02:31:00 |Lynx BBS ~UK~ 0 | 00:01:30 | J | 6795 | 102632 | |04 Jul | 04:50:54 |Lynx BBS ~UK~ 0 | 00:01:14 | J | 0 | 82928 | |04 Jul | 04:58:38 | -Atlantis-(Uk) | 00:01:48 | J | 6931 | 60588 | |04 Jul | 09:14:04 | ALBI-Box | 00:00:34 | J | 28617 | 0 | |04 Jul | 10:19:32 | Paul's Point | 00:02:14 | J | 6533 | 154112 | |04 Jul | 10:42:06 | Daniel's Point | 00:02:30 | J | 0 | 36480 | |04 Jul | 11:42:58 | Daniel's Point | 00:00:34 | J | 3572 | 0 | 2. Outgoing Calls Log. ______________________________________________________________________________ | | | | | Z R E | | | | | | | Call | / E R | Bytes | Bytes | | Date | Time | Node/Point | Length | J Q R | In | Out | |_______|__________|________________|__________|________|_________|_________| |03 Jul | 02:06:22 | MicroMola | 00:01:20 | Z | 3598 | 71630 | |03 Jul | 03:15:48 | | 00:10:26 | J | 947488 | 1988 | |03 Jul | 04:41:10 | MicroMola | 00:01:30 | Z | 37689 | 7455 | |03 Jul | 09:51:06 | MicroMola | 00:01:50 | Z | 14129 | 95328 | |03 Jul | 10:07:02 | | 00:02:24 | J | 206751 | 36534 | |03 Jul | 10:48:24 | MicroMola | 00:00:40 | Z | 0 | 32563 | |_______|__________|________________|__________|________|_________|_________| |04 Jul | 02:06:40 | MicroMola | 00:01:34 | Z | 14348 | 33238 | |04 Jul | 03:15:48 | | 00:03:14 | J | 271509 | 5448 | |04 Jul | 07:12:00 | MicroMola | 00:03:12 | Z | 86797 | 82136 | |04 Jul | 11:27:42 |[>~CyberHome~<] | 00:00:30 | Z | 0 | 453 | 3. Mailer Connections Table Monthly Mailer Connects | 1111111111222222222233 Node |1234567890123456789012345678901 ---------------------------------------------- 2:255/404| * | 2:440/108.1| * | 90:102/0| ** | 90:400/750| * | 100:101/0| ** | 100:101/12| * | 100:1011/0.1| * | 100:1011/0.6| ** | 100:1011/16| ** | 100:1011/17| ** | ---------------------------------------------- 4. Previous days Statistics Chart. ______________________________________________ | Daily Statistics For 03 Jul | |____________________________________________| | Calling | Bytes | Bytes | Time | | Node | In | Out | Online | |______________|_________|_________|_________| | 2:440/108.1| 4170| 240531| 00:03:00| | 90:102/0| 1154239| 38522| 00:12:50| | 100:101/0| 55416| 206976| 00:05:20| | 100:101/12| 0| 1844139| 00:23:28| | 100:1011/0.6| 5610| 33634| 00:02:58| | 100:1011/16| 6194| 102238| 00:02:00| | 100:1011/17| 10393| 1082313| 00:12:02| |______________|_________|_________|_________| Grand Totals | 1236022| 3548353| 01:01:38| |_________|_________|_________| 5. Previous Months stats and This Month So Far. ____________________________________________________________________________ | Monthly Statistics | |__________________________________________________________________________| | Last Month | This Month So Far | |__________________________________________________________________________| | Calling | Bytes | Bytes | Time | Bytes | Bytes | Time | | Node | In | Out | Online | In | Out | Online | |______________|_________|_________|_________|_________|_________|_________| | 2:440/108.1| 0| 0| 00:00:00| 4170| 240531| 00:03:00| | 90:102/0| 0| 0| 00:00:00| 1154239| 38522| 00:02:24| | 100:101/0| 0| 0| 00:00:00| 55416| 206976| 00:00:40| | 100:101/12| 0| 0| 00:00:00| 0| 1844139| 00:02:56| | 100:1011/0.6| 0| 0| 00:00:00| 5610| 33634| 00:00:42| | 100:1011/16| 0| 0| 00:00:00| 6194| 102238| 00:02:00| | 100:1011/17| 0| 0| 00:00:00| 10393| 1082313| 00:10:22| |______________|_________|_________|_________|_________|_________|_________| Grand Totals | 0| 0| 00:00:00| 1236022| 3548353| 00:22:04| |_________|_________|_________|_________|_________|_________| The program is totally automatic , the Previous Days and Monthly Tables are updated as soon as BINKLOG reads in an entry with a new date or month in it. it requires a 7 line config file to be edited (example included in this archive) BINKLOG.CFG g:\log\binkley.log e:\turbo\network\callers.lst e:\turbo\network\called.lst e:\turbo\network\daily.lst e:\turbo\network\monstat.lst e:\turbo\network\moncon.lst 8 ---------------------- 1.Binkley Log path 2.List of Calling Nodes 3.List of Nodes you called 4.Daily Stats (In/Out data sizes and total time on-line) 5.Monthly (same as number 4 but on-going current months totals and last months totals) 6.Monthly connect graph 7.Number of days to keep lists numbers 2 and 3 for before truncating them by 1 day per day The files BINKLOG.CFG and BINKLOG.PRG can be placed anywhere , as long as that is the current directory when you run BINKLOG. --------------------------------------------------------------------------- Any problems and I can be contacted at the following addresses 2:440/108.0 , 51:105/100 , 90:102/140 , 100:1011/0 or mettav.royle.org FUTURE UPDATES ============== The current setup uses plain ascii to hold the information , this ends up with a 30-40K worth of space being used by the end of a month , this was done this way to make any problems easy to identify , since only 1 bug has been identified (and fixed) during the month that the program was released I can now go about using word/byte/bit code to reduce that size dramaticaly. Disclaimer ========== I cannot be held responsible for damage caused either directly or indirectly to either hardware or software by this program. You use it entirely at your own risk. --------------------------------------------------------------------------- I hope you find it useful. Paul Baker.