1 |
On Friday 27 October 2006 11:30, Bo Ørsted Andresen wrote: |
2 |
> On Friday 27 October 2006 11:55, Jorge Almeida wrote: |
3 |
> > What are the numbers at the beginning of each line in the logs |
4 |
> > of emerge? Example: |
5 |
> > 1161911504: --- AUTOCLEAN: Nothing unmerged. |
6 |
> > |
7 |
> > I'm assuming that 1161911504 is some date. If so, how can I |
8 |
> > translate it into something human-meaningfull? |
9 |
> |
10 |
> # tail /var/log/emerge.log | awk -F: '{print strftime("%D %X %Z", |
11 |
> $1),$2}' |
12 |
|
13 |
tail /var/log/emerge.log | awk -F: '{print strftime("%c", $1),$2}' |
14 |
is more internationally friendly (and less to type). |
15 |
|
16 |
-- |
17 |
Peter |
18 |
======================================================================== |
19 |
Gentoo Linux: Portage 2.1.2_pre3-r9 kernel-2.6.18-gentoo |
20 |
AMD Athlon(tm) 64 X2 Dual Core Processor 4400+ gcc(GCC): 4.1.1 |
21 |
KDE: 3.5.5 Qt: 3.3.6 |
22 |
======================================================================== |
23 |
-- |
24 |
gentoo-user@g.o mailing list |