From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1QQVlw-0004JO-PW for garchives@archives.gentoo.org; Sun, 29 May 2011 02:30:33 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 001381C005; Sun, 29 May 2011 02:28:50 +0000 (UTC) Received: from mail-yx0-f181.google.com (mail-yx0-f181.google.com [209.85.213.181]) by pigeon.gentoo.org (Postfix) with ESMTP id C39571C005 for ; Sun, 29 May 2011 02:28:50 +0000 (UTC) Received: by yxm8 with SMTP id 8so1614109yxm.40 for ; Sat, 28 May 2011 19:28:50 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=eIdInyTjwt3hE+5WQreSGZPIiLtEAVx88ocqoXQrvs4=; b=rVk1M3Vcv/9k1GphF/7bY7ThEA1meuPCNb98SueGmvc9uQ+JhQS40Q6Ri9TxkMhTnP q3bcl34ivrYYNiLOGXDUp0FpRjVtZLDU5O7qiUsIJJkjXz0vrm1PULSuasggd8azaecK Z9bYj+ENIdUvBcccHHKbUx7F1Zzl1wPXh7yMk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject:references :in-reply-to:content-type:content-transfer-encoding; b=erN4tdK6K6UgltnYTRhKrIIQLP65FXeZOVcM75lGOdI3lBpuNnCtR2Qm5aI4Z+4vlW gulxlz1CeVp5b2CZie93mTBKW4eWpkeR1LwIouwNrUb1rzXw7+1BfGs+hQuAqMd7qJPe QCzgcajgzgIgkuP9a/yvYrgumkUxqq+J+GVdg= Received: by 10.236.175.99 with SMTP id y63mr4811645yhl.155.1306636130141; Sat, 28 May 2011 19:28:50 -0700 (PDT) Received: from [192.168.2.5] (adsl-98-95-108-236.jan.bellsouth.net [98.95.108.236]) by mx.google.com with ESMTPS id f65sm1600243yhn.39.2011.05.28.19.28.48 (version=SSLv3 cipher=OTHER); Sat, 28 May 2011 19:28:49 -0700 (PDT) Message-ID: <4DE1AF5F.9030203@gmail.com> Date: Sat, 28 May 2011 21:28:47 -0500 From: Dale User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.19) Gecko/20110517 Gentoo/2.0.14 SeaMonkey/2.0.14 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Converting time formats References: <4DE124C2.3050809@gmail.com> <1306630097.9523.9.camel@rattus> In-Reply-To: <1306630097.9523.9.camel@rattus> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: X-Archives-Hash: 05c5c926a33d7e60512706ddf0ff0fa6 William Kenworthy wrote: > 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 > > > This was a pfl log. It doesn't contain all that. I used to run it manually but found that cron was set up to run it automajically. Thing is, I wasn't sure how to tell if it was working so I checked the log file. Well, the time stamp was not for human consumption, sort of like those little silicone bags in electronic stuff. That lead me to reading the date man page which I was pretty sure was the key but just missed one important detail, the little @ sign. Funny the things we run into sometimes. I did add the command to my freq-commands file tho. "This is how you convert time from the log files to human time. Don't forget the @ sign. date -d @ " I went back to the man page, it sort of left the @ out on mine: -d, --date=STRING display time described by STRING, not `now' No mention of the @ sign there. It does say to read the info file but I very rarely get into those. I never have had any good luck with them. I felt like I was in Hotel California once before. O_O I couldn't get out. lol Dale :-) :-)