On 1 October 2010 15:34, Enrico Zimol <lomiz.m...@gmail.com> wrote: > Thank you so much! > I've another question: I see that on that files the time use a sintax > like "[1274071697]" at the begin of each line. > How can I "decode" that value? > In qmail I used tai64nlocal, is there a tool to do that on this format?
Solved :) perl -pe 's/(\d+)/localtime($1)/e' logfile.log ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ Nagios-users mailing list Nagios-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nagios-users ::: Please include Nagios version, plugin version (-v) and OS when reporting any issue. ::: Messages without supporting info will risk being sent to /dev/null