> > I am attempting to write a script which examines the qmail logs files for
> > statistics on ezmlm mail lists.
> >
> > In order to make sense of the results I need a script or command which
> will
> > turn the dates that come out of qmailanalog's matchup program into human
> > readable form.
> >
> > Does anyone have a script or know the command to turn a date such as
> > 973212991.884939500 to a real date that you and I can easily understand?

You may use something like:


(if log from tai64 to human-readable)


cat /var/log/qmail/current | tai64nlocal

it should appear something like:


2000-11-08 09:22:13.435407500 status: local 0/10 remote 0/20



You can find the tai64nlocal in the daemontools package, made by djb



Best Regards,

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Eduardo Augusto Alvarenga - Analista de Suporte - #179653
    Blumenau - Santa Catarina. Tel. (47) 9102-3303
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-

     /"\
     \ /  Campanha da Fita ASCII - Contra Mail HTML
      X   ASCII Ribbon Campaign - Against HTML Mail
     / \

Reply via email to