Gentoo Archives: gentoo-user

From: Harm Geerts <harmgeerts@××××.nl>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Re: date in emerge logs
Date: Fri, 27 Oct 2006 10:17:24
Message-Id: 200610271213.04861.harmgeerts@home.nl
In Reply to: [gentoo-user] date in emerge logs by Jorge Almeida
1 On Friday 27 October 2006 11:55, Jorge Almeida wrote:
2 > What are the numbers at the beginning of each line in the logs of
3 > emerge? Example:
4 > 1161911504: --- AUTOCLEAN: Nothing unmerged.
5 >
6 > I'm assuming that 1161911504 is some date. If so, how can I translate it
7 > into something human-meaningfull?
8 > --
9 > Jorge Almeida
10
11 What it is: http://en.wikipedia.org/wiki/Unix_time
12
13 One way to translate it to a human readable form is this:
14 $ python -c "import time; print time.ctime(1161911504)"
15
16 Not sure if there are console apps that can do this.
17 It's not very common to work with timestamps in the console afaik :)
18 --
19 gentoo-user@g.o mailing list