Date in Log File
Marcus Fleige
marcus.fleige at de.rhenus.com
Mon Apr 21 16:24:46 CEST 2008
Hi Steve,
Steve Pribyl schrieb am 21.04.2008 16:17 Uhr:
> Epoch is hard to read by people.
I made good experience with this little perl-oneliner:
perl -pe 's/(\d+)/localtime($1)/e' <nagios-logfile>
Hope this helps,
Regards,
Marcus Fleige
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
More information about the Developers
mailing list