| < newsyslog | Russ Allbery > Software | INN > |
The time is out of joint: O cursed spite,
That ever I was born to set it right!William Shakespeare, Hamlet, Act I, Scene V, line 189
The TAI64N format is a format for time stamps in log files, invented by Dan Bernstein and used by some of his software, most notably the multilog component of daemontools. That package comes with a program (tai64nlocal) to convert those time stamps to a human-readable date.
Unfortunately, qmailanalog, a log analysis package for the qmail MTA, can only handle log timestamps in the form of a decimal number of seconds since epoch. So I wrote this program to convert from TAI64N timestamps to that format.
Unless you're using qmailanalog, this probably isn't all that interesting. I expect it will probably become obsolete once Dan Bernstein releases a new version of qmail and qmailanalog.
I no longer use qmailanalog and therefore have no plans to make further changes to this program except in response to bug reports or patches from other users.
tai64nfrac is written in C, so you will need a C compiler to compile it. For right now, that compiler has to support the long long data type (gcc and most other current compilers do so).
This program is in the public domain. If it is not legal or possible to place a work in the public domain in your jurisdiction, then I hereby grant you a license to treat this program in every way as if it were in the public domain.
The distribution:
| tai64nfrac 1.4 | 2003-03-10 | Download: HTTP, FTP |
Documentation:
| < newsyslog | Russ Allbery > Software | INN > |