11 Aug 15 16:32, you wrote to All:
NA> Is it possible for BinkD to create a semaphore for each connection
NA> that has been established, inbound or outbound?
those would be the .bsy files in the binkd outbound directories... depending on
the directory for the FTN domain and zone then the decode of the bsy file's
name into two sets of hex and emitted as decimal... a bash script should be
able to do this pretty easily... at least the zone:net/node numbers...
determining the proper FTN domain will be tricky if 4D addressing is used since
all will appear to be part of the main outbound domain...
NA> On this system there are often multiple simultaneous connections at
NA> once.
NA> Rather than chasing the tail of the log, it would be nice to just poll
NA> a working directory to quickly establish "who is online"... maybe even
NA> periodically update with bytes sent/received.
see above... that's the .bsy files and the connect time is based on the .bsy
files' timestamps subtracted from the current time... determining the timebase
(local time or utc) is something else... i suspect, without looking at my
systems, that the stamps are going to be "local" time...
NA> There are many users of the D'Bridge mailer who I know would LOVE to
NA> see a somewhat "real-time" overview of the BinkD activity on their
NA> systems. I can easily give them this feature if I could read a
NA> semaphore or database file.
this paragraph caused me to look and see who i was communicating with :) yeah,
a bash script wouldn't work but being able to code something in DB shouldn't be
much different than DB's own semaphore monitoring and parsing, right?
NA> A shutdown semaphore would be nice; in that if BinkD sees a particular
NA> semaphore, it will gracefully shutdown... rather than just being
NA> outright "killed" by an OS task maanger or shutdown process.
this (and other disk-based semaphores) have been asked for in the past... it
wasn't well received... mainly because binkd originates on *nix which used the
signaling method sending SIGHUP, SIGTERM, SIGKILL and others to the processes
to cause them to do certain things...
hope this helps :)
)\/(ark
... True joy is a serious thing.
---
* Origin: (1:3634/12.73)
|