README.md
1# Hello!
2
3This is **fidostat**, a quick hack of a log file analyser for the **binkd** TCP/IP FTN mailer. It is intended to be used for seeing which systems have polled (or have been polled by) the user's system today. For example:
4
5```
6$ fidostat binkdstat
7-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
8FidoStat/lnx 1.9.0-cur 09-01-18 Binkd Poll Statistic
9
10 Date: Wed Jan 10 11:13:43 2018
11 System: 2:292/789.0, Niels Joncheere
12
13-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
14
15 4 Sessions with 2:203/0@fidonet, 78-66-161-203-no236.tbcn.telia.com [78.66.161.203] (2996)
16 1 Sessions with 2:240/1120@fidonet, p5B01FACE.dip0.t-ipconnect.de [91.1.250.206] (24554)
17 12 Sessions with 2:291/111@fidonet, cl.fidonode.be [77.243.226.167] (2807)
18 1 Sessions with 2:292/624@fidonet, rasp04.02.dco.fusa.be [185.18.148.59] (24554)
19 9 Sessions with 2:292/854@fidonet, 133.151-243-81.adsl-dyn.isp.belgacom.be [81.243.151.133] (62626)
20 8 Sessions with 2:292/8125@fidonet, cust-194-216-110-94.dyn.as47377.net [94.110.216.194] (1564)
21```
22
23Such reports are sent to standard output by default, but can easily be redirected to a file or piped to another program in order to, e.g., post the report in your local statistics echo. For example:
24
25```bash
26# Redirect to file and post to local echo:
27fidostat binkdstat > stats.txt
28hpt post -s "Daily binkd statistics" -e "MILLENNIUM_STATS" -x stats.txt
29```
30
31Alternatively:
32
33```bash
34# Post to local echo via pipe:
35fidostat binkdstat | hpt post -s "Daily binkd statistics" -e "MILLENNIUM_STATS" -x -
36```
37
38Statistics are computed based on the ``binkd.log`` file, which is searched in your standard husky log directory (cf. the ``FidonetLogsDir`` variable in your husky configuration file).
39
40Development of this program was started (back in 1999) by [Gabriel Plutzar](mailto:gabriel@hit.priv.at), 2:31/1. As Gabriel is no longer active in FidoNet, the program is currently (as of 2018) maintained by [Niels Joncheere](https://github.com/njonchee), 2:292/789.
41