Saturday, April 13, 2013

alias for converting unix epoch time



alias conv="perl -pe 's/(\d+)/localtime($1)/e'"

tail -f nagios.log | conv

No comments: