[rrd-users] Re: patchkit for "rrdtool last file.rrd [--time|--counters|--values]"
steve rader
rader at teak.wiscnet.net
Fri Sep 24 17:45:27 MEST 1999
> *> See enclosed or [1]. I recken this is useful:
> *>
> *> bash% rrdtool last --time some.rrd
> *> time:937242355
> *>
> *> bash% rrdtool last --counters some.rrd
> *> counter:input:937242355:1972629937
> *> counter:output:937242355:3028471975
> *>
> *> bash% rrdtool last --values some.rrd
> *> value:input:937242355:1.0463010000e+06
> *> value:output:937242355:3.5241593750e+05
> *>
> *> The WiscNet rrdtool stuff will depend on it eventually so it'd
> *> be nice if it makes it way into the source.
> From: Tobias Oetiker
> ok ... will add ... just a qustion thugh ... I do hope you are using the
> perl shared module interface ...
Don't add the patch I posted: it does appear to break the perl
shared modules.
I'll fix that and also fix the cli interface: "--counters"
is does not make sense with DS type "GAUGE" etc.
So RSN, I post a patch for:
rrdtool last [--time|--ds|--value|--pdp] some.rrd
where
--time == <rrd><lastupdate>
--ds == <rrd><ds><last_ds> for each DS
--value == <rrd><ds><value> for each DS
--pdp == <rrd><rra><row><v> for each DS where <pdp_per_row> == 1
later
steve
- - -
systems guy
wiscnet.net
--
* To unsubscribe from the rrd-users mailing list, send a message with the
subject: unsubscribe to rrd-users-request at list.ee.ethz.ch
More information about the rrd-users
mailing list