[rrd-users] Re: Simple method to get a list of data sources in a single RRD

Alex van den Bogaerdt alex at slot.hollandcasino.nl
Tue Feb 8 11:01:58 MET 2000


Bruce Campbell wrote:
> 
> The question is:
> 
> 	Is there a program currently to do a simple 'is this a valid data
> 	source' or to list the available data sources, in a given rrd
> 	file?
> 
[...]
> 
> or to simply list the data sources in a given rrd file? (which would be
> better when I shift to perl - simple string comparison)

What about 

	rrdtool dump some.rrd | awk '/<name>/{print $2}'

This should also be possible inside perl.

regards,
-- 
   __________________________________________________________________
 / alex at slot.hollandcasino.nl                  alex at ergens.op.het.net \
| work                                                         private |
| My employer is capable of speaking therefore I speak only for myself |
+----------------------------------------------------------------------+

--
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



More information about the rrd-users mailing list