in reply to Passing epoch time to function to compare open session time and close session time

Assuming your records are like this

Jan 31 08:40:19 ubuntu01 sshd[32346]: pam_unix(sshd:session): session +opened for user rocky by (uid=0)

How is the year determined ?

poj
  • Comment on Re: Passing epoch time to function to compare open session time and close session time
  • Download Code

Replies are listed 'Best First'.
Re^2: Passing epoch time to function to compare open session time and close session time
by ikegami (Patriarch) on Feb 05, 2015 at 19:29 UTC
    The hour is also ambiguous around DST changes