public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Converting time formats
  @ 2011-05-29  0:48 99% ` William Kenworthy
  0 siblings, 0 replies; 1+ results
From: William Kenworthy @ 2011-05-29  0:48 UTC (permalink / raw
  To: gentoo-user

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 <billk@iinet.net.au>
Home in Perth!




^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2011-05-28 16:37     [gentoo-user] Converting time formats Dale
2011-05-29  0:48 99% ` William Kenworthy

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox