Koozali.org: home of the SME Server

Reading time /date in mail log

Paul

Reading time /date in mail log
« on: November 25, 2002, 01:37:22 AM »
How do I read this:  [it is from the sendmail style log]

1037987669.572450500  .. is this a time/date?


thank you,

Paul

steve lewis

Re: Reading time /date in mail log
« Reply #1 on: November 26, 2002, 12:53:36 AM »
Yes, that is Unix time.

Not for sure, but usually there are all kinds of Perl scripts to convert that to Human time.

For instance, I use a Perl script to convert the Unix time on my Squid logs.

Steve Lewis

Paul

Re: Reading time /date in mail log
« Reply #2 on: November 26, 2002, 02:35:53 AM »
I found this handy online conversion tool for anyone who is in need:

http://www.onlineconversion.com/unix_time.htm

Darrell May

Re: Reading time /date in mail log
« Reply #3 on: November 26, 2002, 11:16:06 AM »
Or simply install my updated viewlogfiles rpm found here:

http://myezserver.com/downloads/mitel/beta/SME55-mailfront-upgrade/

Darrell

Charlie Brady

Re: Reading time /date in mail log
« Reply #4 on: November 26, 2002, 06:26:16 PM »
Darrell May wrote:
>
> Or simply install my updated viewlogfiles rpm found here:

Darrell's suggestion is better by far, since the timestamps *aren't* in Unix time format, but tai64n time format:

http://cr.yp.to/daemontools/tai64n.html

Regards

Charlie

Offline quayph

  • 13
  • +0/-0
Reading time /date in mail log
« Reply #5 on: March 13, 2007, 12:10:46 PM »
My logfile timestamp is in the following  format

@4000000045f615cb399da434

When I looked up  tai64n it seems to describe this correctly, but not the format in the first post in this thread...