On Thu, Mar 24, 2005 at 04:11:45PM -0500, D.Walsh wrote:
> I have examined "rrdtool dump filename >outfile.xml", problem is the
> data recovered is hard to understand since I am trying to edit this
> data and correct or add missing data and I was hoping for something in
> a human-readable format.
>
> If HR is not an possible option, how do I interpret the following so I
> can make the changes I require?
>
>
> 0.0000000000e+00
>
> 2.7777777778e-03
>
at 2005-03-21 18:00:00 EST (1111446000 seconds since 1970-01-01 00:00),
the value was 0
at 2005-03-21 18:30:00 EST (1111447800 seconds since 1970-01-01 00:00),
the value was 2.778e-03, thats 0.002778
how much more readable do you want it? :)
If you need simple time:value pairs, you could do sth like
perl -n -e 'printf ("%s %s\n", $1, $2) if (s/(\d{9,10}) .* ([\d.e+\-]{16})/)' \
< file.rrd > file.txt
(untested :)
--
+------------------------------------------------------------------* .-.
| Martin Schuster Microsoft is not the answer /v\
| www.tabr.org Microsoft is the question // \\
| ICQ# 20511117 "Linux!" is the answer /( )\
+--------------------------------------------------------------* ^^-^^
-- Attached file removed by Ecartis and put at URL below --
-- Type: application/pgp-signature
-- Desc: Digital signature
-- Size: 190 bytes
-- URL : http://www.ee.ethz.ch/~slist/p/4243C9E722021-signature.asc
--
Unsubscribe mailto:rrd-users-request@list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request@list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi