[rrd-users] Re: how do I do calculations to STDOUT? Thanks->

John Giordano isaac at netos.com
Tue May 21 00:36:30 MEST 2002



for the ideas everyone.  I will try them out and might bug back if I get stuck.

- jg

> 
> Hello,
> 
> Just for everyone's edification- I have read and re-read the 
> docs and also looked all over the web but I can't seem to 
> find my answer.
> 
> Basically, all I want to do is pull monthly bandwidth 
> calculations from a .rrd in plain text so I can stuff them 
> into a database.
> 
> What I can do now is this:
> 
> ./rrdtool graph foo.png --start -1m --imgformat PNG 
> --title="Monthly UU.Net" --vertical-label "KiloBytes per 
> Second" DEF:inoctets=myrouter.rrd:ds0:AVERAGE 
> DEF:outoctets=myrouter.rrd:ds1:AVERAGE 
> AREA:inoctets#00FF00:"In traffic" LINE1:outoctets#0000FF:"Out traffic"
> 
> but I can't seem to figure out what the command syntax is to 
> dump this to STDOUT.
> > 

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