On Sat, 2011-05-28 at 11:37 -0500, Dale wrote:
> I asked this once before but I can't find it.  I have a log file that 
> has time stamps that look like this:
> 
> lastrun = 1306574899
> 
> What do I use to get the human time for that?  I thought it was the date 
> command but I couldn't find it in the man page.  I tried google but I 
> can't recall what that time stamp is called either so not sure what to 
> search for.
> 
> Could someone enlighten me a little bit here?
> 
> Thanks.
> 
> Dale
> 
> :-)  :-)
> 

As well as your other replies, check out ccze

rattus ~ # esearch ccze
[ Results for search key : ccze ]
[ Applications found : 1 ]

*  app-admin/ccze
      Latest version available: 0.2.1-r2
      Latest version installed: 0.2.1-r2
      Size of downloaded files: 136 kB
      Homepage:    http://dev.gentoo.org/~joker/ccze/ccze.txt
      Description: A flexible and fast logfile colorizer
      License:     GPL-2


Pass your log through it for nicely coloured text (words like "alarm"
and "error" are bright red to stand out) as well as converting date
epoch on the fly, leaving it in context.

BillK



-- 
William Kenworthy <bi...@iinet.net.au>
Home in Perth!


Reply via email to