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 1QQcvz-0004jK-PG for garchives@archives.gentoo.org; Sun, 29 May 2011 10:09:24 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 031EB1C015; Sun, 29 May 2011 10:07:45 +0000 (UTC) Received: from mail-wy0-f181.google.com (mail-wy0-f181.google.com [74.125.82.181]) by pigeon.gentoo.org (Postfix) with ESMTP id AA4441C015 for ; Sun, 29 May 2011 10:07:45 +0000 (UTC) Received: by wyi11 with SMTP id 11so2888560wyi.40 for ; Sun, 29 May 2011 03:07:44 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:from:reply-to:to:subject:date:user-agent :references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=udN+TCpCluQFMKGQCqf+EVUq6MDnkIVey7mKCzD6W/A=; b=UsmjuDpqn9t4iiZ876j13CtHbBT+11yLAJXhDDlcWLZSGSf7XJUt8YDsdvTneU8MeW /07bIc2wSPZEuVKhZQ2/WoIeWYBpnSBDWQRy7XYQYY+3FtKCV90z/XikJaM7imIxtmEC C3/71+vd54t0Oqm/Atm43qAlulmqIl1N3xXvE= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=FBeZMYTBX0ycY1V45S4YObX9voMa3sJRqC6KKXw5+ZbU126hS1LhMRjUMu/Y79yW05 EWpkVPjGKpqyat8BoDviYpXdY8/SXc7AurtPZOLePFe6EcrorO9SwY+Xa2QyeItXmEhf 82y3YMvi2JxRUCFRlvjG75AAuus/Wwlji1p24= Received: by 10.227.5.194 with SMTP id 2mr3849227wbw.93.1306663664656; Sun, 29 May 2011 03:07:44 -0700 (PDT) Received: from dell_xps.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id fm14sm2326948wbb.58.2011.05.29.03.07.42 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 29 May 2011 03:07:43 -0700 (PDT) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Converting time formats Date: Sun, 29 May 2011 11:08:09 +0100 User-Agent: KMail/1.13.7 (Linux/2.6.37-gentoo-r4; KDE/4.6.2; x86_64; ; ) References: <4DE124C2.3050809@gmail.com> <1306630097.9523.9.camel@rattus> In-Reply-To: <1306630097.9523.9.camel@rattus> 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 Content-Type: multipart/signed; boundary="nextPart13213217.RPSfVtX529"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201105291108.22164.michaelkintzios@gmail.com> X-Archives-Salt: X-Archives-Hash: 1b543e67501b987c3cb92e0180d0df50 --nextPart13213217.RPSfVtX529 Content-Type: Text/Plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable On Sunday 29 May 2011 01:48:17 William Kenworthy wrote: > 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: > >=20 > > lastrun =3D 1306574899 > >=20 > > 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. > >=20 > > Could someone enlighten me a little bit here? > >=20 > > Thanks. > >=20 > > Dale > >=20 > > :-) :-) >=20 > As well as your other replies, check out ccze >=20 > rattus ~ # esearch ccze > [ Results for search key : ccze ] > [ Applications found : 1 ] >=20 > * 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 >=20 >=20 > 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. >=20 > BillK Hmm ....=20 "This project is no longer maintained. There's no valid homepage left." =2D-=20 Regards, Mick --nextPart13213217.RPSfVtX529 Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.17 (GNU/Linux) iEYEABECAAYFAk3iGxYACgkQVTDTR3kpaLZXxQCfZsTEWc+DZRzkV8KehiYUNN6Q 3pUAn2gpY/9qIvxhF3GYbYAUFSwqNNQ8 =a5yM -----END PGP SIGNATURE----- --nextPart13213217.RPSfVtX529--