From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GdPg3-0008Qb-4r for garchives@archives.gentoo.org; Fri, 27 Oct 2006 11:15:07 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.8/8.13.6) with SMTP id k9RBBrST025000; Fri, 27 Oct 2006 11:11:53 GMT Received: from galaxy.systems.pipex.net (galaxy.systems.pipex.net [62.241.162.31]) by robin.gentoo.org (8.13.8/8.13.6) with ESMTP id k9RB8SDP029918 for ; Fri, 27 Oct 2006 11:08:28 GMT Received: from mesh.ruskin (81-86-110-137.dsl.pipex.com [81.86.110.137]) by galaxy.systems.pipex.net (Postfix) with ESMTP id 1ED81E000238 for ; Fri, 27 Oct 2006 12:08:27 +0100 (BST) From: Peter Ruskin Organization: Retired To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] date in emerge logs Date: Fri, 27 Oct 2006 12:08:26 +0100 User-Agent: KMail/1.9.5 References: <200610271230.36774.bo.andresen@zlin.dk> In-Reply-To: <200610271230.36774.bo.andresen@zlin.dk> X-No-Archive: yes Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Disposition: inline Message-Id: <200610271208.26668.peter.ruskin@dsl.pipex.com> Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by robin.gentoo.org id k9RBBrSv025000 X-Archives-Salt: f6de1fcd-0a6e-46a7-a293-b5fb26d873f4 X-Archives-Hash: 6859df65995aa9dd35e84d8383a58ce9 On Friday 27 October 2006 11:30, Bo =D8rsted Andresen wrote: > On Friday 27 October 2006 11:55, Jorge Almeida wrote: > > What are the numbers at the beginning of each line in the logs > > of emerge? Example: > > 1161911504: --- AUTOCLEAN: Nothing unmerged. > > > > I'm assuming that 1161911504 is some date. If so, how can I > > translate it into something human-meaningfull? > > # tail /var/log/emerge.log | awk -F: '{print strftime("%D %X %Z", > $1),$2}' tail /var/log/emerge.log | awk -F: '{print strftime("%c", $1),$2}'=20 is more internationally friendly (and less to type). --=20 Peter =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D Gentoo Linux: Portage 2.1.2_pre3-r9 kernel-2.6.18-gentoo AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ gcc(GCC): 4.1.1 KDE: 3.5.5 Qt: 3.3.6 =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D --=20 gentoo-user@gentoo.org mailing list