I made it human readable for temporary convenience only. I intend to have
this file feed into some other program (e.g., dbmail-top) that has
intimate knowledge of the format and can provide consistent, human
readable details upon request.

As stated below, the format can and will change as more data becomes
available. Frankly, I'm not likely to do much more with it during 2.2
because I've already picked all the low-hanging fruit I could get at, but
that's not a guarantee of any kind.

In fact, I never really wanted to write out a file at all. I was hoping to
create a unix domain socket that would get updated in real time whenever
something happened. Problem is that requires a dedicated process in the
current model, and I'm not willing to devote a process to sitting on that
socket. In a non-blocking event loop server the cost of the socket would
be almost nothing, which is probably what I will do in 2.3.

I guess given all that I might consider freezing the 2.2 format... I'm
totally open to discussing the merits of doing that, it's just not my plan
right now.

Aaron

On Fri, Jul 13, 2007, Andrea Brancatelli <[EMAIL PROTECTED]> said:

> This is gold! Why is it undocumented!? (is it undocumented?)
> 
> -----Messaggio originale-----
> Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Per conto
> di Aaron Stone
> Inviato: venerdì 13 luglio 2007 19.32
> A: DBMail mailinglist
> Oggetto: Re: [Dbmail] Help on scoreboard
> 
> On Fri, Jul 13, 2007, Paul J Stevens <[EMAIL PROTECTED]> said:
> 
>> Jorge Bastos wrote:
>>> grrrr
>>> don't joke with me!!! :P
>>> i'm very sick today with high temperature.
>>> ProftpD has from FTPTOP tool:
>>> 
>>>        -f                      configures the ScoreboardFile to use
>> 
>> Jorge,
>> 
>> dbmail when running in daemon mode always uses a scoreboard file in
>> /tmp/. This file is not human readable. Aaron has a project in progress
>> to read it and display status information: dbmail-top. It's only in the
>> trunk though, and unfinished.
> 
> The human readable part is already in dbmail_2_2_branch, but the
> dbmail-top utility is not finished yet. I encourage people not to write
> tools that depend exactly on the format of this file just yet. More fields
> will be added over time.
> 
> cat /var/run/dbmail-<foo>.state to see what's happening.
> 
> Aaron
> _______________________________________________
> DBmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 
> _______________________________________________
> DBmail mailing list
> [email protected]
> https://mailman.fastxs.nl/mailman/listinfo/dbmail
> 

-- 



_______________________________________________
DBmail mailing list
[email protected]
https://mailman.fastxs.nl/mailman/listinfo/dbmail

Reply via email to