On Sunday 27 January 2008 21:54:23 Mick wrote:
> Hi All,
>
> I am sure that someone has asked this before, but a cursory look doesn't
> bring anything up.  I am going through some logs and I cannot understand
> what the time was when certain events took place:
>
> [1200806556] SERVICE ALERT: router.xxxxxxxxxxxxxxxxxxxxxxx
> [1200806576] SERVICE ALERT: router.xxxxxxxxxxxxxxxxxxxxxxx
> [1200806891] HOST ALERT: router.xxxxxxxxxxxxxxxxxxxxxxxxxx
> [1200806891]
>
> Could you please tell me how to interpret/parse these so that they show
> time in hrs:min so that I can understand it?  (anything I could feed to
> less would be grand).

I asked a similar question last year, in the hope of finding a tiny utility 
through which to pipe grep output. I was offered an Awk recipe, but I 
couldn't get it to work at the time.

I'm still looking for an answer, and Google isn't helping me. Nor is my Bash 
Cookbook from O'Reilly.

-- 
Rgds
Peter
-- 
gentoo-user@lists.gentoo.org mailing list

Reply via email to