Changes

From SME Server
Jump to navigationJump to search
576 bytes added ,  17:34, 8 January 2015
Line 301: Line 301:  
  cd /home/e-smith
 
  cd /home/e-smith
 
  du --si --max-depth 1
 
  du --si --max-depth 1
 +
 +
====Read a TAI64N timestamp in human readable format====
 +
[http://cr.yp.to/daemontools/tai64nlocal.html tai64nlocal] converts precise TAI64N timestamps to a human-readable format.
 +
tai64nlocal reads lines from stdin. If a line does not begin with @, tai64nlocal writes it to stdout without change. If a line begins with @, tai64nlocal looks for a timestamp after the @, in the format printed by tai64n, and writes the line to stdout with the timestamp converted to local time in ISO format: YYYY-MM-DD HH:MM:SS.SSSSSSSSS.
 +
Eg
 +
cat  /var/log/qpsmtpd/current |tai64nlocal|less
 +
    
====adjust the ntp time====
 
====adjust the ntp time====

Navigation menu