1 |
-----BEGIN PGP SIGNED MESSAGE----- |
2 |
Hash: SHA1 |
3 |
|
4 |
El Lunes, 11 de Agosto de 2003 21:43, Mariano Alejandro Orsili escribió: |
5 |
> > |
6 |
> > Bueno, ahora les quiero hacer una preguntita más simple (un favorcito |
7 |
> > más...): |
8 |
> > El log del smtp (.../current) trae -creo yo - la fecha y hora en formato |
9 |
> > tipo 'timestamp', algo así: |
10 |
> > @400000003f37b790054de70c tcpserver: ....etc |
11 |
> > Lo cual no me sirve de nada si quiero saber a qué hora y día sucedió eso. |
12 |
> > ¿Hay alguna manera de cambiarlo por un formato "humanamente legible"? |
13 |
> > |
14 |
> > Gracias otra vez.... |
15 |
> > |
16 |
> > Facundo |
17 |
Mirate esto, que es lo que necesitas :) |
18 |
(sacado del man tai64nlocal) |
19 |
|
20 |
tai64nlocal(8) tai64nlocal(8) |
21 |
|
22 |
|
23 |
|
24 |
NAME |
25 |
tai64nlocal - converts precise TAI64N timestamps to a human-readable |
26 |
format. |
27 |
|
28 |
SYNOPSIS |
29 |
tai64nlocal |
30 |
|
31 |
DESCRIPTION |
32 |
tai64nlocal reads lines from stdin. If a line does not begin with @, |
33 |
tai64nlocal writes it to stdout without change. If a line begins with |
34 |
@, tai64nlocal looks for a timestamp after the @, in the format printed |
35 |
by tai64n(8), and writes the line to stdout with the timestamp con- |
36 |
verted to local time in ISO format: YYYY-MM-DD HH:MM:SS.SSSSSSSSS. |
37 |
|
38 |
For example, in the US/Pacific time zone, the input line |
39 |
|
40 |
@4000000037c219bf2ef02e94 mark |
41 |
|
42 |
should be printed as |
43 |
|
44 |
1999-08-23 21:03:43.787492500 mark |
45 |
|
46 |
(...) |
47 |
|
48 |
Saludos |
49 |
|
50 |
Robert |
51 |
-----BEGIN PGP SIGNATURE----- |
52 |
Version: GnuPG v1.2.1 (GNU/Linux) |
53 |
|
54 |
iD8DBQE/OH+HPcQbzUqqZz8RAqzUAKCyBicJNOfLUBLxOodvJv+BGdqR8ACeIFJc |
55 |
tBvJFGAYDymx7QnRpuhBW3k= |
56 |
=FI/L |
57 |
-----END PGP SIGNATURE----- |
58 |
|
59 |
|
60 |
-- |
61 |
gentoo-user-es@g.o mailing list |