Understanding the timestamp of ltrace

Franck Youssef <[email protected]> Mon, 15 Jul 2013 20:15:35 +0200
Newsgroups gmane.comp.web.web-polygraph.user
Message-ID <8465_1373912141_51E43C4D_8465_5420_1_C37EB891-A210-47B4-A0AB-2F02EC8FFBB9@open.ch>
Hello,

I am trying to generate log traces of err_xact.count myself, using the poly=
graph-ltrace --objects. =


I would like to sample these values with a sampling interval of 20 seconds. =


To my understanding, that should be feasible with the --time_unit option. H=
owever, when running ltrace with different --time_unit values] I always obt=
ain the same output.
Furthermore, when printing the 'time' object using --time_unit 1s, I obtain=
 some kind of a funny timestamp prefixed with a dash: "-2147483620.50"  (=
=3D Fri Dec 13 21:46:19 MET 1901 using date -d @=85).

What does that timestamp mean, how could I obtain a "natural" unix timestam=
p and how could I modify the sampling interval?

Best,
Franck

-- =

franck youssef
junior engineer

open systems ag
raeffelstrasse 29
ch-8045 zurich
t: +41 58 100 10 10
f: +41 58 100 10 11

[email protected]

http://www.open.ch






_______________________________________________
Users mailing list
Users-mN9fGWdlm5pku/f+YMZH/di2O/[email protected]
http://www.web-polygraph.org/mailman/listinfo/users