[rrd-users] Re: newbie help please - RRDTOOL GPRINT/LTIME (using Perl module)
Stanley Hopcroft
Stanley.Hopcroft at IPAustralia.Gov.AU
Mon May 12 05:12:44 MEST 2003
Dear Sir,
I am writing to apologise for my poor advice.
Now that I have checked more extensively, the recommendation to
intrepret _part of the data_ returned from the RRD with RRDs::fetch (if
(undef, undef, undef, $d) = RRDs::fetch(..); use $d->[0] as a
time_t) was complete and utter nonsense.
(For the benefit of the archives, RRDs::fetch returns ($start, $step,
$ds_ar, $data_ar) where $ds_ar is a ref to an array of 'Data Set names',
and $data_ar is a ref to an array of refs, where the first array
contains the values found in the interval [so $data_ar->[0] is the first
set of measurements, $data_ar->[1] is the second set] and the
measurements themselves are $data_ar->[1][1] for the first DS value,
data_ar->[1][2] for the second DS value ..).
I beg your pardon.
Yours sincerely.
--
------------------------------------------------------------------------
Stanley Hopcroft
------------------------------------------------------------------------
'...No man is an island, entire of itself; every man is a piece of the
continent, a part of the main. If a clod be washed away by the sea,
Europe is the less, as well as if a promontory were, as well as if a
manor of thy friend's or of thine own were. Any man's death diminishes
me, because I am involved in mankind; and therefore never send to know
for whom the bell tolls; it tolls for thee...'
from Meditation 17, J Donne.
--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin http://www.ee.ethz.ch/~slist/lsg2.cgi
More information about the rrd-users
mailing list